krossningsortering
Krossningsortering is a concept in sorting theory described in Nordic computer science literature as a family of multi-key sorting methods that use cross-classification and partitioning to order records with several keys. The term combines the Swedish words for cross and sorting, and the idea is to improve efficiency by coordinating how multiple keys are considered across passes.
The basic idea is to partition the data by one key and then sort within each partition
There are several variants, including two-key and multi-key versions. For comparison-based implementations, the overall time complexity
Applications of krossningsortering include database and data-warehousing tasks where records must be ordered by multiple attributes
See also: Sorting algorithm, multi-key sort, radix sort, stable sort, external sorting.