In side standings subquery sort by id instead of rating