Simple action system. Fix event sorting.