Sort the sets for the set preference list.