Top level category sorting.