Added day to RepeatingTask. Changed sorting method for RepeatingTask