pokemon-showdown/lib
Guangcong Luo 486f292904
Refactor everything to use Utils.sortBy (#8220)
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.
2021-04-23 22:41:00 -07:00
..
crashlogger.ts Update to latest eslint 2020-09-29 15:28:08 -07:00
DASHYCODE.md Clarify Dashycode documentation 2019-07-12 02:04:07 -05:00
dashycode.ts Remove last vestiges of tslint 2020-10-27 22:49:00 +00:00
fs.ts Lib: Add an index file for all exports (#7972) 2021-01-31 18:00:19 -08:00
index.ts Lib: Add an index file for all exports (#7972) 2021-01-31 18:00:19 -08:00
net.ts Lib: Add an index file for all exports (#7972) 2021-01-31 18:00:19 -08:00
process-manager.ts Support hotpatching User/Room/ProcessManager protos (#8095) 2021-03-08 05:23:17 -08:00
repl.ts Fix build errors 2020-11-30 13:17:52 -06:00
STREAMS.md Introduce chunk readers for ReadStream (#7215) 2020-09-27 08:55:59 -07:00
streams.ts Properly type Promises (#7712) 2020-11-19 23:19:42 -08:00
utils.ts Refactor everything to use Utils.sortBy (#8220) 2021-04-23 22:41:00 -07:00