stgit.el: Sort patches correctly before merging them in stgit-squash