Sort patch directory when we read it

This is a stupid one-liner bug.  It breaks the output badly because we
may end up getting the patches in a completely random order, thus
assigning wrong numbers to them, incorrectly concluding the series was
reordered, etc.