Login   Register  
PHP Classes
elePHPant
Icontem

AIS_Util_MultibyteSort: Sort arrays with text encoded using Unicode

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 322 All time: 6,413 This week: 1,478Up
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: 31
All time rank: 133289 in Germany Germany
Week rank: 545 Up23 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:322All time:6,413
 This week:0This week:1,478Up