Sort providers by name (#8430)

* Sort providers by name

* lowerCase sort
This commit is contained in:
Jaco 2022-11-28 10:25:14 +02:00 committed by GitHub
parent ba8c17a9b7
commit 4910c31c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ function expandEndpoint (t: TFunction, { dnslink, genesisHash, homepage, info, i
? 1
: b.isLightClient
? -1
: 0
: a.textBy.toLocaleLowerCase().localeCompare(b.textBy.toLocaleLowerCase())
);
if (linked) {