Init code for keystones, tables, sorted tables; merge-sort not yet tested.