fixed sorting in schedule events