rsort - chung-leong/qb GitHub Wiki

rsort - Sort an array in reverse order

bool rsort( array &$array )

rsort() sorts an array in reverse order. Elements will be arranged from highest to lowest when this function has completed. Starting from version 1.4, rsort() is able to sort multi-dimensional arrays

Parameters:

array - The array to sort.

Return Value:

true

Version

1.0 and above.