modified order for displaying events