AIO:Smoothsort

Package:
AIO:Smoothsort
Summary:
Sort values using the SmoothSort algorithm
Groups:
Algorithms, PHP 5
Author:
Gerd Christian Kunze
Description:
This class can be used to sort values using the SmoothSort algorithm.

It takes an array of values and sort the values by ascending order with the SmoothSort algorithm.

The class can also take a callback function for comparing two values to be sorted, so it can sort any types of values by any type of order.


Powered by Gewgley