sort keys in saved config