A field or fields in a record that dictate the sequence of the file. For example, the sort keys STATE and NAME arrange the file alphabetically by name within state. STATE is the major sort key, and ...
The .NET Framework has two collections that will guarantee your items are always sorted whenever you process the collection. Here's how to choose between the two and how to control the sort order ...