Bug fix: events on calendar are now sorted properly (earliest first).