Template:Sorting Algorithm: Difference between revisions
m (added a related task.) |
m (added a related task.) |
||
Line 35: | Line 35: | ||
[https://rosettacode.org/wiki/Sort_numbers_lexicographically Lexicographical sort] | |
[https://rosettacode.org/wiki/Sort_numbers_lexicographically Lexicographical sort] | |
||
[https://rosettacode.org/wiki/Natural_sorting Natural sorting] | |
[https://rosettacode.org/wiki/Natural_sorting Natural sorting] | |
||
[https://rosettacode.org/wiki/Order_by_pair_comparisons Order by pair comparisons] | |
|||
[https://rosettacode.org/wiki/Order_disjoint_list_items Order disjoint list items] | |
[https://rosettacode.org/wiki/Order_disjoint_list_items Order disjoint list items] | |
||
[https://rosettacode.org/wiki/Order_two_numerical_lists Order two numerical lists] | |
[https://rosettacode.org/wiki/Order_two_numerical_lists Order two numerical lists] | |
Revision as of 05:06, 14 April 2021
Sorting Algorithm
This is a sorting algorithm. It may be applied to a set of data in order to sort it.
For other sorting algorithms, see Category:sorting algorithms, or:
Heap sort | Merge sort | Patience sort | Quick sort
O(n log2n) sorts
Shell Sort
O(n2) sorts
Bubble sort |
Cocktail sort |
Cocktail sort with shifting bounds |
Comb sort |
Cycle sort |
Gnome sort |
Insertion sort |
Selection sort |
Strand sort
other sorts
Bead sort |
Bogo sort |
Common sorted list |
Composite structures sort |
Custom comparator sort |
Counting sort |
Disjoint sublist sort |
External sort |
Jort sort |
Lexicographical sort |
Natural sorting |
Order by pair comparisons |
Order disjoint list items |
Order two numerical lists |
Object identifier (OID) sort |
Pancake sort |
Quickselect |
Permutation sort |
Radix sort |
Ranking methods |
Remove duplicate elements |
Sleep sort |
Stooge sort |
Three variable sort |
Topological sort |
Tree sort