Sort Python imports in pure Emacs Lisp