 This idea can be extended to any number of keys and is utilised by radix sort.The same effect can be achieved with an unstable sort by using a lexicographic key comparison, which, e.g., compares first by suit, and then compares by rank if the suits are the same.In this table, is the number of records to be sorted.