add event sorting to junior