出典:Wikipedia
出典:『Wikipedia』 (2011/05/25 20:34 UTC 版)
A comparison sort is a type of sorting algorithm that only reads the list elements through a single abstract comparison operation (often a "less than or equal to" operator) that determines which of two elements should occur first in the final sorted list. The only requirement is that the operator obey two of the properties of a total order: