Commit 974c20e
Fix Minecraft version sort order in version picker
Replaced lexicographic .sort().reverse() with a numeric dot-segment
comparator so versions like 1.21.11 and 1.21.10 sort correctly above
1.21.3 instead of below it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7f196d5 commit 974c20e
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
706 | | - | |
707 | | - | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
708 | 715 | | |
709 | 716 | | |
710 | 717 | | |
| |||
0 commit comments