Login   Register  
PHP Classes
elePHPant
Icontem

Dynamic Multisort: Sort multidimensional arrays

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-03-02 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 264 This week: 2All time: 6,780 This week: 900Up
Version License PHP version Categories  
mydynmsort 1.0GNU General Public Lice...5.0PHP 5, Data types
Description Author  

This class can be used to sort multidimensional arrays with the array_multisort function.

It can add one or more sorting criteria that defines how the array entries will be sorted.

The class builds the argument list with all the criteria and then calls array_multisort function to sort the array.

Picture of Marco Tonnicchi
Name: Marco Tonnicchi <contact>
Classes: 1 package by
Country: Germany Germany
Age: 49
All time rank: 3440199 in Germany Germany
Week rank: 773 Up37 in Germany Germany Up

  Files folder image Files  
File Role Description
Plain text file sort.php Class myDynMsort

 Version Control Unique User Downloads Download Rankings  
 0%Total:264All time:6,780
 This week:2This week:900Up