Google brought me here, so I'll point out that sortByIt was renamed to sortedByIt:
[https://github.com/nim-lang/Nim/pull/2318/commits/06ea53e6920c561eb3ad27bfcbd57aba608b1bac](https://github.com/nim-lang/Nim/pull/2318/commits/06ea53e6920c561eb3ad27bfcbd57aba608b1bac)
