Improving order of maps on the control panel.

Issue #42 resolved
Anna Bakker created an issue

On http://minecraftonline.com/cgi-bin/controlpanel?maps maps are shown in order of id. However this order goes: 0 1 10 100 1000 1001 1002 1003... ...1238 1239 124 1240 1241... Instead of: 1 2 3 4 5 6 7...

Comments (5)

  1. Riot

    This is not true; sort -g would produce precisely the same output. Both produce output correctly sorted by numerical order. However, the -k1.20 in use in the source is responsible for the limited sorting; this seems to have been intentional at some point, I've no idea if it's still relevant. We also have a lot of maps, so it might not be useful to sort them numerically anymore.

  2. Anna Bakker reporter

    It could be useful to sort them numerically so that maps made around the same time are near eachother.

  3. Log in to comment