Sort migrations chronologically