Sort the loaded records