Tidy up sorting controls on tables.