sort output of module names to be able to execute multiple migrations in order.

Single-branch one-commit merge for https://github.com/ostinelli/gin/pull/9 and https://github.com/ostinelli/gin/pull/11