Information about Sorting
For the sorting of sediment, see .
Sorting is any process of arranging items in some sequence and/or in different sets, and accordingly, it has two common, yet distinct meanings:
- ordering: arranging items of the same kind, class, nature, etc. in some ordered sequence,
- categorizing: grouping and labelling items with similar properties together (by sorts).
Sorting information or data
For sorting we can either specify a weak order "should not come after" or a strict weak order "should come before" (specifying one defines also the other, the two are the complement of the inverse of each other, see operations on binary relations). For the sorting to be unique, these two are restricted to a total order and a strict total order, respectively.Sorting n-tuples (depending on context also called e.g. records consisting of fields) can be done based on one or more of its components. More generally objects can be sorted based on a property. Such a component or property is called a sort key.
For example, the items are books, the sort key is the title, subject or author, and the order is alphabetical.
A new sort key can be created from two or more sort keys by lexicographical order. The first is then called the primary sort key, the second the secondary sort key, etc.
For example, addresses could be sorted using the city as primary sort key, and the street as secondary sort key.
If the sort key values are totally ordered, the sort key defines a weak order of the items: items with the same sort key are equivalent with respect to sorting. See also stable sorting. If different items have different sort key values then this defines a unique order of the items.
A standard order is often called ascending (corresponding to the fact that the standard order of numbers is ascending, i.e. A to Z, 0 to 9), the reverse order descending (Z to A, 9 to 0).
Now if you sort on different keys, then you get different lists of header information (such as the author's name) with the appended tailing records (such as title or publisher). Sorting in computer science is one of the most extensively researched subjects because of the need to speed up the operation on thousands or millions of records during a search operation; see sorting algorithm.
The main purpose of sorting information is to optimise its usefulness for specific tasks. In general, there are two ways of grouping information: by category e.g. a shopping catalogue where items are compiled together under headings such as 'home', 'sport & leisure', 'women's clothes' etc. (nominal scale) and by the intensity of some property, such as price, e.g. from the cheapest to most expensive (ordinal scale). This is illustrated by the following story:
Managers are on a course of basic computer terms and they are explained the meaning of sorting. The lecturer comes in and throws hundreds of various nails and screws, new, old, rusty and crooked, of different size and material on the table. S/he then tells them to: sort! The students in no time create a dozen or so heaps each with relatively homogeneous members, and with some undecided cases left. The lecturer picks up a straight and strong nail, and hammers it in the wall with his/her shoe sole. "You failed to ask sort what for, or what to sort on" - s/he would tell the puzzled audience.
In the book Information Anxiety by Richard Saul Wurman, he proposes that the most common sorting purposes are Name, by Location and by Time (these are actually special cases of category and hierarchy). Together these give the acronym LATCH (Location, Alphabetical, Time, Category, Hierarchy) and can be used to describe just about every type of ordered information.
Often information is sorted using different methods at different levels of abstraction: e.g. the UK telephone directories which are sorted by location, by category (business or residential) and then alphabetically. New media still subscribe to these basic sorting methods: e.g. a Google search returns a list of web pages in a hierarchical list based on its own scoring system for how closely they match the search criteria (from closest match downwards).
The opposite of sorting, rearranging a sequence of items in a random or meaningless order, is called reshuffling.
Physical sorting processes
Various sorting tasks are essential in industrial processes. For example, during the extraction of gold from ore, a device called a shaker table uses gravity, vibration, and flow to separate gold from lighter materials in the ore (sorting by size and weight). Sorting is also a naturally occurring process that results in the concentration of ore or sediment. Sorting results from the application of some criterion or differential stressor to a mass to separate it into its components based on some variable quality. Materials that are different, but only slightly so, such as the isotopes of uranium, are very difficult to separate.See also
External links
- Demonstration of all Sorting Algorithms Demonstrations of every sort from Bubble to Quick.
Collation is the assembly of written information into a standard order. This is commonly called alphabetisation, though collation is not limited to ordering letters of the alphabet.
..... Click the link for more information.
..... Click the link for more information.
Categorization is the process in which ideas and objects are recognized, differentiated and understood. Categorization implies that objects are grouped into categories, usually for some specific purpose.
..... Click the link for more information.
..... Click the link for more information.
strict weak ordering is a binary relation < on a set S that is a strict partial order (a transitive relation that is irreflexive, or equivalently, that is asymmetric) in which the relation "neither a < b nor b < a" is transitive.
..... Click the link for more information.
..... Click the link for more information.
In mathematics, a total order, linear order, simple order, or (non-strict) ordering on a set X is any binary relation on X that is antisymmetric, transitive, and total.
..... Click the link for more information.
..... Click the link for more information.
For the musical term, see .
In mathematics, a tuple is a finite sequence (also known as an "ordered list") of objects, each of a specified type. A tuple containing n objects is known as an "n-tuple".
..... Click the link for more information.
In computer science, object composition (not to be confused with function composition) is a way and practice to combine simple objects or data types into more complex ones.
..... Click the link for more information.
..... Click the link for more information.
In mathematics, the lexicographic or lexicographical order, (also known as dictionary order, alphabetic order or lexicographic(al) product), is a natural order structure of the Cartesian product of two ordered sets.
..... Click the link for more information.
..... Click the link for more information.
In mathematics, a total order, linear order, simple order, or (non-strict) ordering on a set X is any binary relation on X that is antisymmetric, transitive, and total.
..... Click the link for more information.
..... Click the link for more information.
Computer science, or computing science, is the study of the theoretical foundations of information and computation and their implementation and application in computer systems.
..... Click the link for more information.
..... Click the link for more information.
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.
..... Click the link for more information.
..... Click the link for more information.
This article or section relies largely or entirely upon a .
Please help [ improve this article] by introducing appropriate of additional sources. ()
This article has been tagged since January 2007.
..... Click the link for more information.
Please help [ improve this article] by introducing appropriate of additional sources. ()
This article has been tagged since January 2007.
..... Click the link for more information.
Shuffling is a procedure used to randomize a deck of playing cards to provide an element of chance in card games. Shuffling is often followed by a cut, to ensure that the shuffler has not manipulated the outcome.
..... Click the link for more information.
..... Click the link for more information.
GOLD refers to one of the following:
..... Click the link for more information.
- GOLD (IEEE) is an IEEE program designed to garner more student members at the university level (Graduates of the Last Decade).
- GOLD (parser) is an open source BNF parser.
..... Click the link for more information.
Gravitation is a natural phenomenon by which all objects with mass attract each other. In everyday life, gravitation is most familiar as the agency that endows objects with weight.
..... Click the link for more information.
..... Click the link for more information.
- ''For other uses, see oscillator (disambiguation)
..... Click the link for more information.
Flow may refer to:
..... Click the link for more information.
- Flow (physics) is the flux times the area. This is the rate at which something travels through a given cross section.
..... Click the link for more information.
ore is a volume of rock containing components or minerals in a mode of occurrence that renders it valuable for mining. An ore must contain materials that are
..... Click the link for more information.
- valuable
- in concentrations that can be profitably mined, transported, milled, and processed.
..... Click the link for more information.
Sorting indicates the distribution of grain size of sediments, either in unconsolidated deposits or in sedimentary rocks. Poorly sorted indicates that the sediment sizes are mixed (large variance); whereas well sorted
..... Click the link for more information.
..... Click the link for more information.
Collation is the assembly of written information into a standard order. This is commonly called alphabetisation, though collation is not limited to ordering letters of the alphabet.
..... Click the link for more information.
..... Click the link for more information.
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.
..... Click the link for more information.
..... Click the link for more information.
The Unicode collation algorithm (UCA) provides a standard way to put names, words or strings of text in sequence according to the needs of a particular situation.
When used with the default Unicode collation element table (DUCET), this collation method is similar to the
..... Click the link for more information.
When used with the default Unicode collation element table (DUCET), this collation method is similar to the
..... Click the link for more information.
Organizing is the act of rearranging following one or more s. It can also be seen as the opposite of messing up.
One organized opposite could be disordered, since ordered is almost synonymous.
..... Click the link for more information.
One organized opposite could be disordered, since ordered is almost synonymous.
..... Click the link for more information.
This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus