PHP Classes

Dynamic Multisort: Sort multidimensional arrays

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 298 All time: 7,416 This week: 70Up
Version License PHP version Categories
mydynmsort 1.0GNU General Publi...5.0PHP 5, Data types


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: 2 packages by
Country: Germany Germany
Age: 58
All time rank: 3284187 in Germany Germany
Week rank: 410 Up14 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  
This week:0
All time:7,416
This week:70Up