PHP Classes

AIS_Util_MultibyteSort: Sort arrays with text encoded using Unicode

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 351 All time: 6,990 This week: 455Up
Version License PHP version Categories
multibytesort 1.1BSD License5.0Localization, PHP 5, Text processing, D...


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: 41
All time rank: 133982 in Germany Germany
Week rank: 258 Up12 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  
This week:0
All time:6,990
This week:455Up
 User Ratings  
 All time