I am creating a high scores table stored on a database for my game, but I was wondering the best practices are for storing such tables. Should the table be resorted each time a new score is added or should the data being received by a query just be sorted?
It seems like it would be easier on the server to just sort when retrieving data instead of updating the table each time.