sort the options.