pipfile-sort
Install
pip install pipfile-sort
Usage
# Pipfile-sort targets Pipfile on current directory,
# so need to move to the directory where Pipfile exists.
cd /path/to/pipfile/dir
# Rewrite Pipfile as the package lists are sorted.
pipfile-sort