Explicitly sort files for migrations, fixing #130