Login   Register  
PHP Classes
elePHPant
Icontem

Array Multi Sort: Sort arrays considering multiple values

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-12-08 (7 years ago) RSS 2.0 feedStarStarStarStar 60%Total: 4,080 This week: 1All time: 685 This week: 1,533Down
Version License Categories  
arr_multisort 1.0BSD LicenseDatabases, Data types
Description Author  

This class is meant to sort arrays of associative arrays like those returned as result sets database query functions.

It can sort the result arrays considering multiple result columns. It can perform ascendent or descendent sorting onb each column.

Columns of dates are sorted correctly if they comply with GNU date syntax.
(http://www.gnu.org/software/tar/manual/html_chapter/tar_7.html)

Picture of Alexandar Minkovsky
Name: Alexandar Minkovsky <contact>
Classes: 3 packages by
Country: Bulgaria Bulgaria
Age: 44
All time rank: 1491 in Bulgaria Bulgaria
Week rank: 817 Down6 in Bulgaria Bulgaria Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file arr_multisort.class.php Class Class file
Accessible without login Plain text file example.php Example Example usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,080All time:685
 This week:1This week:1,533Down
User Ratings User Comments (1)  
 All time
Utility:87%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:84%StarStarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:867
 
Very clean and fast class.
4 years ago (Diego Ritzel)
70%StarStarStarStar