make upcoming events sort in correct order.