sort doesn't sort the same was as python, since the python version is older, replace sort with awk.

[git-p4: depot-paths = "//dev/talpa/main/": change = 2398102]