PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-01-20 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 338 All time: 6,704 This week: 936Up
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
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:338
This week:0
All time:6,704
This week:936Up