I found Python doesn't have a convenient module to sort huge list that is unable to fit in memory.
exsort is distributed on PyPI as a universal wheel and is available on Linux/macOS and Windows and supports Python 2.7/3.5+ and PyPy.
$ pip install exsort
exsort is distributed under the terms of the MIT License.