Module algos::sort [−][src]
A module for using sorting algorithms.
It contains all major sorting algorithms.
Functions
bubble |
Bubble Sort: Sort a slice according to the way you define the cmp parameter. |
cocktail |
Cocktail Sort: Sort a slice according to the way you define the cmp parameter. It's a variation of Bubble Sort. |
heap |
Heap Sort: Sort a slice according to the way you define the cmp parameter. |
insection |
Insection Sort: Sort a slice according to the way you define the cmp parameter. |
merge |
Merge Sort: Sort a slice according to the way you define the cmp parameter. |
quick |
Quick Sort: Sort a slice according to the way you define the cmp parameter. |
selection |
Selection Sort: Sort a slice according to the way you define the cmp parameter. |