GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing mathworld.wolfram.com — Sorting -- from Wolfram MathWorld SortingSorting is the rearrangement of numbers (or other orderable objects) in a list into their correct lexicographic order. Alphabetization is therefore a form of sorting. Because of the extreme importance of sorting in almost all computer algorithms and database applications, a great deal of effort has been expended in the creation and analysis of efficient sorting algorithms. A number of common sorting algorithms include heapsort, merge sort, quicksort, selection sort, and shellsort.
The following table summarizes the number of comparisons or elementary operations used by several comparison sorts, which determine order by comparing pairs of items,
on
For
Nash (2026a) reports a deterministic online adversary that is initialized using only See alsoHeapsort, Merge Sort, Ordering, Quicksort, Selection Sort, Shellsort, Sort-Then-Add Sequence, WeighingExplore with Wolfram|AlphaReferencesKnuth, D. E. The Art of Computer Programming, Vol. 3: Sorting and Searching, 2nd ed. Reading, MA: Addison-Wesley, 1998.Nash, N. "An Optimal Deterministic Adversary for Sorting." Revised manuscript. 2026a. https://github.com/nicknash/sorting-adversary-proofs/blob/8dbe152e8859af86d78569e427f57ce79f6fc120/for-humans/output/pdf/paper.pdf. Initial deposit: https://hexagonmath.org/2611.00196v1.Nash, N. "Sorting Adversaries in Lean." 2026b. https://github.com/nicknash/sorting-adversary-proofs/blob/d376e17acd4b9b351f43356ccd274e807339c120/docs/optimal-adversary-formalization.md.Nash, N. "Continuous Adversary Formalization." 2026c. https://github.com/nicknash/sorting-adversary-proofs/blob/68ba6a2073abb8ea661d5347a3fee06c120c5a64/docs/continuous-adversary-formalization.md.National Institute of Standards and Technology. "Sort." https://xlinux.nist.gov/dads/HTML/sort.html.Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; and Vetterling, W. T. "Sorting." Ch. 8 in Numerical Recipes in FORTRAN: The Art of Scientific Computing, 2nd ed. Cambridge, England: Cambridge University Press, pp. 320-339, 1992.Skiena, S. "Sorting and Searching." §1.1.6 in Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica. Reading, MA: Addison-Wesley, pp. 14-16, 1990.Referenced on Wolfram|AlphaSortingCite this as:Weisstein, Eric W. "Sorting." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Sorting.html Subject classifications | ||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |