reverse migration order