sorting oute database.yml file for pg