added sorting for the exercise items list