[][src]Module buldak::tim

tim sort algorithm.

stable sort
O(Nlog₂N)

Functions

sort

Sort in ascending order using a tim sort algorithm.

sort_by

It takes a comparator function to determine the order, and sorts it using a tim sort algorithm.

sort_reverse

Sort in descending order using a tim sort algorithm.