mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
A few uses of `array.sort()` have been left alone: - sorting in `data/` because they aren't supposed to import anything - `set-importer` because I still have no clue what that's for and what dependencies it is/isn't allowed to have - `sort()` with no arguments used as a lexical sort (at which point `sortBy` offers no benefits) All other cases have been replaced with `Utils.sortBy`, which should be a massive increase in readability. Sort orders should be much more readable now, without needing to puzzle through sign issues. The order is always low-to-high, A-to-Z, true-to-false. |
||
|---|---|---|
| .. | ||
| chat-commands | ||
| chat-plugins | ||
| chat.js | ||
| ip-tools.js | ||
| ladders.js | ||
| modlog.js | ||
| room-battle.js | ||
| rooms.js | ||
| sockets.js | ||
| users.js | ||