| Chapter 15: Tables |

| 15.11. Sorting

We are allowed to sort a table in two ways: first, at random.

> sort the Table of Recent Monarchs in random order;

Secondly, in order of the values in any column, either forwards or backwards. Blank values will be placed last, and entirely blank rows last of all. The method of sorting is "stable", that is, if two rows have the same value then they will stay the same way round in the sorted table, rather than being swapped over.

> sort the Table of Recent Monarchs in accession order;

> sort the Table of Recent Monarchs in reverse name order;

211
| Example Jokers Wild A deck of cards which can be shuffled and dealt from.

Previous | Contents | Next