Sort keys in config