added ordering by eventsNeeded by default