PHP Classes

AIS_Util_MultibyteSort: Sort arrays with text encoded using Unicode

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 351 All time: 6,991 This week: 455Up
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: 41
All time rank: 134182 in Germany Germany
Week rank: 164 Up8 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:351
This week:0
All time:6,991
This week:455Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2924