Global Information Lookup Global Information

Natural sort order information


In computing, natural sort order (or natural sorting) is the ordering of strings in alphabetical order, except that multi-digit numbers are treated atomically, i.e., as if they were a single character. Natural sort order has been promoted as being more human-friendly ("natural") than machine-oriented, pure alphabetical sort order.[1]

For example, in alphabetical sorting, "z11" would be sorted before "z2" because the "1" in the first string is sorted as smaller than "2", while in natural sorting "z2" is sorted before "z11" because "2" is treated as smaller than "11".

Alphabetical sorting:

  1. z11
  2. z2

Natural sorting:

  1. z2
  2. z11

Functionality to sort by natural sort order is now widely available in software libraries for many programming languages.[2][3][4][5][6][7] During the 1996 MacHack conference, the Natural Order Mac OS System Extension was conceived and implemented overnight on-site as an entry for the Best Hack contest.[8][9] Dave Koelle wrote the Alphanum Algorithm in 1997[10] and Martin Pool published Natural Order String Comparison in 2000.[11]

  1. ^ "Sorting for Humans : Natural Sort Order". blog.codinghorror.com. 12 December 2007.
  2. ^ "PHP: natsort - Manual". php.net.
  3. ^ "Sort::Naturally - metacpan.org". metacpan.org.
  4. ^ Morton, Seth M. (23 December 2021). "natsort: Simple yet flexible natural sorting in Python" – via PyPI.
  5. ^ "Customizable Natural-Order Sort - File Exchange - MATLAB Central".
  6. ^ Kornblith, Simon (25 December 2021). "NaturalSort: Natural Sort Order in Julia". github.com.
  7. ^ Pažourek, Tomáš (1 April 2022). "NaturalSort.Extension: Support for natural sorting in .NET/C#". github.com.
  8. ^ "Natural Order Numerical Sorting".
  9. ^ "TidBITS: The Natural Order of Things". 3 February 1997.
  10. ^ "Dave Koelle's Alphanum Algorithm".
  11. ^ "Martin Pool's Natural Order String Comparison".

and 22 Related for: Natural sort order information

Request time (Page generated in 1.0336 seconds.)

Natural sort order

Last Update:

In computing, natural sort order (or natural sorting) is the ordering of strings in alphabetical order, except that multi-digit numbers are treated atomically...

Word Count : 263

Lexicographic order

Last Update:

lexicographical order than a later date up to year 9999. This date ordering makes computerized sorting of dates easier by avoiding the need for a separate sorting algorithm...

Word Count : 3352

Collation

Last Update:

Alphabetical order Asciibetical order Chinese character orders Sorting Taxonomic sequence Mac and Mc together Unicode equivalence Natural sort order Historically...

Word Count : 2417

Merge sort

Last Update:

implementations produce a stable sort, which means that the relative order of equal elements is the same in the input and output. Merge sort is a divide-and-conquer...

Word Count : 6747

Alphabetical order

Last Update:

Seven (which was stylised as Se7en), they may be sorted as if they were those letters. Natural sort order orders strings alphabetically, except that multi-digit...

Word Count : 5305

Natural order

Last Update:

Deuce (high) to Seven (low) Natural sort order This disambiguation page lists articles associated with the title Natural order. If an internal link led you...

Word Count : 124

Quicksort

Last Update:

sort, meaning that it can sort items of any type for which a "less-than" relation (formally, a total order) is defined. It is a comparison-based sort...

Word Count : 9985

Bead sort

Last Update:

Bead sort, also called gravity sort, is a natural sorting algorithm, developed by Joshua J. Arulanandham, Cristian S. Calude and Michael J. Dinneen in...

Word Count : 1081

YES stroke alphabetical order

Last Update:

stroke alphabetical order, also called YES stroke-order sorting, briefly YES order or YES sorting, is a Chinese character sorting method based on a stroke...

Word Count : 1608

Natural law

Last Update:

Natural law (Latin: ius naturale, lex naturalis) is a system of law based on a close observation of natural order and human nature, from which values...

Word Count : 13625

Timsort

Last Update:

Timsort is a hybrid, stable sorting algorithm, derived from merge sort and insertion sort, designed to perform well on many kinds of real-world data....

Word Count : 2354

Natural number

Last Update:

also be used for ordering (as in "this is the third largest city in the country"), in which case they serve as ordinal numbers. Natural numbers are sometimes...

Word Count : 5485

Natural language processing

Last Update:

Natural language processing (NLP) is an interdisciplinary subfield of computer science and information retrieval. It is primarily concerned with giving...

Word Count : 6530

Total order

Last Update:

generally to some sort of totally ordered subsets of a given partially ordered set. An extension of a given partial order to a total order is called a linear...

Word Count : 3094

Shortlex order

Last Update:

total ordering for finite sequences of objects that can themselves be totally ordered. In the shortlex ordering, sequences are primarily sorted by cardinality...

Word Count : 296

Spaghetti sort

Last Update:

parallel processor. For simplicity, assume we are sorting a list of natural numbers. The sorting method is illustrated using uncooked rods of spaghetti: For each...

Word Count : 387

Natural language

Last Update:

controlled natural language. Controlled natural languages are subsets of natural languages whose grammars and dictionaries have been restricted in order to reduce...

Word Count : 561

Tree traversal

Last Update:

less than all keys in its right subtree, in-order traversal retrieves the keys in ascending sorted order. Visit the current node. Recursively traverse...

Word Count : 2823

Aristotle

Last Update:

and polymath. His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology, and...

Word Count : 16766

Partially ordered set

Last Update:

total order or linear order is a partial order under which every pair of elements is comparable, i.e. trichotomy holds. For example, the natural numbers...

Word Count : 5390

Natural slavery

Last Update:

this sort of rule, if such is the case for the other things mentioned. It is not advantageous for one to be held in slavery who is not a natural slave...

Word Count : 802

Order of Assassins

Last Update:

The Order of Assassins or simply the Assassins (Arabic: حَشّاشِین, romanized: Ḥashshāshīyīn; Persian: حشاشين, romanized: Ḥaššāšīn) were a Nizari Isma'ili...

Word Count : 13547

PDF Search Engine © AllGlobal.net