mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-08-03 00:59:39 -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. |
||
|---|---|---|
| .. | ||
| crashlogger.ts | ||
| DASHYCODE.md | ||
| dashycode.ts | ||
| fs.ts | ||
| index.ts | ||
| net.ts | ||
| process-manager.ts | ||
| repl.ts | ||
| STREAMS.md | ||
| streams.ts | ||
| utils.ts | ||