sort events daily by time