tweaked sorting of settings dialog.