[−][src]Module buldak::bogo
bogo sort algorithm.
best:O(1), worst:O(∞)
Functions
sort | Sort in ascending order using a bogo sort algorithm. |
sort_by | It takes a comparator function to determine the order, and sorts it using a bogo sort algorithm. |
sort_reverse | Sort in descending order using a bogo sort algorithm. |