Put stuff in the right order