don't sort events when it's not needed