Compare the numbers digit by digit, starting from the ten-thousands place.

Ten-thousands digits: 5, 5, 5, 5. Numbers with the same ten-thousands digit are further compared at the thousands, hundreds, tens, and ones places.

From smallest to largest:
• 51328 (smallest)
• 52138
• 52318
• 52813 (largest)

Final Answer: 51328, 52138, 52318, 52813