Add a way to sort the preferences (type/alpha)