sort procedures based on start date