Compare the digits from left to right.
All numbers have 5 digits. Compare the ten-thousands: all are 5.
Compare the thousands: 2, 2, 1, 2.
• 51328 has thousands digit 1, which is the smallest, so it comes first.
• The remaining three (52138, 52318, 52813) all have thousands digit 2. Compare hundreds: 1 < 3 < 8. So 52138, then 52318, then 52813.
Final Answer: 51328, 52138, 52318, 52813