Changes in getTrainingDataByModelIdAndCrisisId method - add sorting parameters.