The default sorting criterion of the events is the beginning hours, in the daily view. However, the algorithm now puts first the multi-day events and then all the one-day events, according to the beginning hour of each event. We want the algorithm not to distinguish these two but the common criterion of all events to be the beginning hour of all the events regardless of whether these are multi-day or one-day events