PHP Classes

AIS_Util_MultibyteSort: Sort arrays with text encoded using Unicode

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-01-20 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 330 All time: 6,598 This week: 1,080Up
Version License PHP version Categories  
multibytesort 1.1BSD License5.0Localization, PHP 5, Text processing, D...
Description Author  

This class can be used to sort arrays with text encoded using Unicode.

It can take an array of string and sort it considering that the characters are encoding using UTF-8.

The class can either sort regular arrays of strings or associative arrays on which the array keys may be also associative.

Innovation Award  
PHP Programming Innovation award nominee
January 2009
Number 10
PHP provides a large variety of array sorting functions. It can sort arrays by entry value or even by associative array key.

However, when text values are used as sorting factor, only PHP 6 will provide built-in support to sort text encoded using Unicode.

This class provides a solution for sorting arrays of text strings encoded using Unicode that works in versions prior to PHP 6.

Manuel Lemos
Picture of Christian
Name: Christian <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 32
All time rank: 131983 in Germany Germany
Week rank: 946 Up45 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file AIS_Util_MultibyteSort.php Class AIS_Util_MultibyteSort class

 Version Control Unique User Downloads Download Rankings  
 0%Total:330All time:6,598
 This week:0This week:1,080Up