Sort migrations versions by natural order

Avoid bad sorting (1_ 10_ 2_ 3_...).