private void sortAndCacheEvents(List<? extends WeekViewEvent> events) {
        sortEvents(events);
        for (WeekViewEvent event : events) {
            cacheEvent(event);
        }
    }
Sort and cache events.
@param events The events to be sorted and cached.
library/src/main/java/com/alamkanak/weekview/WeekView.java