PHP Classes

Dynamic Multisort: Sort multidimensional arrays

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
Not enough user ratingsTotal: 299 All time: 7,428 This week: 455Up
Version License PHP version Categories
mydynmsort 1.0GNU General Publi...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: 2 packages by
Country: Germany Germany

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

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:299
This week:0
All time:7,428
This week:455Up