Skip to page content |

Tiscali Quicklinks. Please visit our Accessibility Page for a list of the Access Keys you can use to find your way around the site, skip directly to the main navigation, to the page content, or to more links within reference.

Advertisement starts



Advertisement ends

Content Starts Here


sorting

encyclopaedia header
Encyclopaedia Search
Click a letter for the index
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Or search the encyclopaedia:
 
 
 
all results tagged with the © symbol denotes content that is relevant to the national curriculum

Sorting


In computing, arranging data in sequence. When sorting a collection, or file, of data made up of several different fields, one must be chosen as the key field used to establish the correct sequence. For example, the data in a company's mailing list might include fields for each customer's first names, surname, address, and telephone number. For most purposes the company would wish the records to be sorted alphabetically by surname; therefore, the surname field would be chosen as the key field.

The choice of sorting method involves a compromise between running time, memory usage, and complexity. Those used include selection sorting, in which the smallest item is found and exchanged with the first item, the second smallest exchanged with the second item, and so on; bubble sorting, in which adjacent items are continually exchanged until the data are in sequence; and insertion sorting, in which each item is placed in the correct position and subsequent items moved down to make a place for it.

© Research Machines plc 2008. All rights reserved. Helicon Publishing is a division of Research Machines plc.


 
 

Advertisement starts



Advertisement ends


Afghanistan Flag
Afghanistan Flag Black represents the occupation of foreigners, red represents the blood of freedom fighters, and green denotes Islam. In the middle of the flag is a mehrab, an arch in a mosque where the congregation stands, and a mender, a pulpit in a mosque. The mehrab and mender are both in white, and are enclosed by wheat. Effective date: 5 February 2002. >>

Advertorial

AdvertorialFind out how to buy the things you've always wanted and sell the things you don't on ebay.

Advertisement starts



Advertisement ends

Page Footer


Access keys


You will need to use different key combinations in order to use access keys depending on your internet browser, find out which on our accessibility page.
  • (0) Navigate to Accessibility page.
  • (1) Navigate to Home page.
  • (2) Navigate to My email.
  • (3) Navigate to My Account.
  • (4) Navigate to Site Map page.
  • (5) Navigate to Contact us page.
  • (6) Navigate to Members channel.
  • (7) Navigate to Services channel.
  • (8) Navigate to News & Info channel.
  • (9) Navigate to Entertainment channel.
  • ([) Skip down to the Primary navigation block.
  • (]) Skip down to the more links within this section block.
  • (=) Bypass all navigation and jump to the content.