rangsort
Rangsort is a conceptual sorting algorithm that operates on a list of comparable elements. Its fundamental principle involves determining the rank of each element within the list. The rank of an element is defined as the number of elements that are strictly smaller than it. Once the ranks are determined for all elements, they can be placed into their correct sorted positions.
The process typically begins with an initial pass through the input list to calculate the rank for
Rangsort is known for its stability, meaning that elements with equal values maintain their original relative