sort

(redirected from the sort)
Also found in: Dictionary, Thesaurus, Medical, Legal.
Related to the sort: Sort algorithm

sort

[sȯrt]
(computer science)
To rearrange a set of data items into a new sequence, governed by specific rules of precedence.
The program designed to perform this activity.

sort

(application, algorithm)
To arrange a collection of items in some specified order. The items - records in a file or data structures in memory - consist of one or more fields or members. One of these fields is designated as the "sort key" which means the records will be ordered according to the value of that field. Sometimes a sequence of key fields is specified such that if all earlier keys are equal then the later keys will be compared. Within each field some ordering is imposed, e.g. ascending or descending numerical, lexical ordering, or date.

Sorting is the subject of a great deal of study since it is a common operation which can consume a lot of computer time. There are many well-known sorting algorithms with different time and space behaviour and programming complexity.

Examples are quicksort, insertion sort, bubble sort, heap sort, and tree sort. These employ many different data structures to store sorted data, such as arrays, linked lists, and binary trees.

sort

(tool)
The Unix utility program for sorting lines of files.

Unix manual page: sort(1).

sort

(1) To reorder data into a new sequence. See sorter, counting sort, bubble sort, quick sort and selection sort.


A Punch Card Sorter in 1917
Cards were sorted one digit at a time (a 10-digit account number required 10 passes). A great year to have bought stock. (Image courtesy of IBM.)






(2) An external DOS/Windows command that sorts a text file into alphabetical order, providing the text columns are uniform. The following example sorts the text file 1.TXT (starting at character position 1), creating 2.TXT. The < means "input from," and the > means "output to."
sort < 1.txt > 2.txt      a to z
  sort < 1.txt > 2.txt /r   z to a


SORT ON A MIDDLE COLUMN
If city begins in character position 60 in 1.TXT, the following examples create 2.TXT in city sequence:
sort /+60 < 1.txt > 2.txt      a to z
  sort /+60 < 1.txt > 2.txt /r   z to a
References in periodicals archive ?
Incorporating Tables: When using the SORT array formula, you may find it beneficial to first convert the source data into an Excel Table (Using the Insert tab's Table menu option), an example of which is pictured below.
The method consisted of sorting the entire lumber population into three sorts and then combining the sorted lumber into six subgroups that show the effect of the sorting parameters on the drying results.
What was interesting was, while we were trying to forge the sort of formal irregular relationships that would make this all happen efficiently, at the collaborative level it was taking place automatically.
Yet as much as they may deplore the knee-jerk posture of historical positivism implied by so much current techno, their principal target here is the sort of techno-nostalgia presently holding sway over popular music production in general.
And, inasmuch as the sort of liturgy I dream of would be premised on a basic repudiation of that craving, its governing purpose would actually be the very opposite of manipulative.
The sort of nightmare society that a Falwell or a Bauer dreams up in order to scare donations out of church ladies is precisely the sort of society Warner wants to create.
All subjects were assessed on the SORT which is similar to the RMT.
Click the Options button in the lower left corner of the Sort dialog.
Since centralized sort yards may include a fixed cost for both establishment and operation, it may be necessary to evaluate a full season or longer of activity at the sort yard to capture the relevant costs and benefits.
Click on the Sort left to right box, and you're in business.
What I really loved about being there was when I could discover correspondences between the sort of vestigial Africanness that we carry here and the real article there.
This show's content is described perfectly in its title, "Standard." Largely a Pop fantasy, the exhibition was constructed according to a serial methodology and consisted of lust the sort of things that fill our everyday lives in anonymous and repetitive fashion.