PHP Classes

Brim::QuickSort: Sort objects using the QuickSort algorithm

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: 923 All time: 3,864 This week: 560Up
Version License Categories
brim_quicksort 1.0GNU General Publi...Algorithms, Data types
Description 

Author

This package implements the QuickSort algorithm to sort arrays of objects.

It uses a comparator callback class with a function that compares two objects and returns -1, 0 or 1 to indicate whether the objects are equal or which one is greater in respect to the sorting criteria.

Picture of barry@nauta.be
Name: barry@nauta.be <contact>
Classes: 2 packages by
Country: Belgium Belgium

  Files folder image Files (3)  
File Role Description
Plain text file Comparator.php Class The default comparator
Plain text file PhpCompatibility.php Aux. Provides PHP5 comptibility for the used function
Accessible without login Plain text file QuickSort.php Class QuickSort algorithm using a comparator callback

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:923
This week:0
All time:3,864
This week:560Up