Sort config file