PHP Classes
elePHPant
Icontem

Array Sorter: Sort multidimensional arrays

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-03-18 (5 years ago) RSS 2.0 feedStarStarStarStar 68%Total: 748 All time: 4,294 This week: 468Up
Version License PHP version Categories
array-sorter 1.0.0BSD License5PHP 5, Utilities and Tools, Data types
Description Author

This class can be used to sort multidimensional arrays.

It takes multidimensional array and sorts or an array of objects and sorts it by the value of a given array entry or object variable.

The sorting entry name may include one more entry names, one per each dimension.

The sorting order may be configured also to be ascending or descending.

Picture of Przemek Berezowski
Name: Przemek Berezowski <contact>
Classes: 3 packages by
Country: Poland Poland

  Files folder image Files  
File Role Description
Plain text file sorter.php Class ArraySorter class
Accessible without login Plain text file array_example.php Example Usage example with multidimensional array
Accessible without login Plain text file array_of_objects_example.php Example Usage example with array of objects
Accessible without login Plain text file doc.txt Doc. Documentation how to use ArraySorter class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:748
This week:0
All time:4,294
This week:468Up
User Ratings User Comments (2)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:-
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:430
 
very nice, thanks for sharing
5 years ago (David Hyland)
67%StarStarStarStar
wow
5 years ago (Jacek Lukasiewicz)
70%StarStarStarStar