Order data using PGSQL. TODO: Make the import command not care what order the data is in