Curriculum learning for data-driven modeling of dynamical systems