Strategic Data Ordering: Enhancing Large Language Model Performance through Curriculum Learning