Jump to content

Category:Sorting algorithms

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mormegil (talk | contribs) at 12:46, 5 June 2007 (fix cs:). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science and mathematics, a sorting algorithm is an algorithm that puts elements of a list in a certain order. The most used orders are numerical order and lexicographical order. Efficient sorting is important to optimizing the use of other algorithms (such as search and merge algorithms) that require sorted lists to work correctly; it is also often useful for canonicalizing data and for producing human-readable output.