Order the rows by hash (#9)
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 11 Sep 2020 12:38:10 +0000 (14:38 +0200)
committerGitHub <noreply@github.com>
Fri, 11 Sep 2020 12:38:10 +0000 (14:38 +0200)
commitd356fd56235494ff58f5b637e056ab80e2e0022c
treee19c179844f5331acbd93b93b1bf4661e10a60ab
parent6598bfad83ec1d55d2c767ec47861c76ea049a4e
Order the rows by hash (#9)

While there are no guarantees that the resulting JavaScript object stays
ordered by the key this appears to result in a deterministic and actually
ordered output.

Besides looking better to the human reader this also should improve import
performance by a bit, because new entries are inserted in the UNIQUE index
at the end, instead of being inserted all over the place.
src/blacklist.ts