Uses case insensitive comparison for sorting. Refs #1292.
This commit is contained in:
parent
bddfe007b6
commit
ca937cdba8
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ proc processContent(content: string) =
|
||||||
var jsonArr = jsonDoc.elems
|
var jsonArr = jsonDoc.elems
|
||||||
|
|
||||||
jsonArr.sort do (x, y: PJsonNode) -> int:
|
jsonArr.sort do (x, y: PJsonNode) -> int:
|
||||||
system.cmp(x["name"].str, y["name"].str)
|
strutils.cmpIgnoreCase(x["name"].str, y["name"].str)
|
||||||
|
|
||||||
var
|
var
|
||||||
officialList = ""
|
officialList = ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue