Help on sorting UIListLayout for player list

So I have a custom player list and there are 3 categories (like Roblox’s leader stats):

  1. Seconds
  2. Minutes
  3. Hours

Now how would I sort it so the player with the most hours played is on top and so on? I really need help!