List events ordered by start time
Use this query to retrieve events ordered by their start time. The OrderBy parameter sorts the results chronologically based on the event's start date and time. This is ideal for displaying upcoming events in sequence.
Tip: Combine with StartTime to focus on future events.
SELECT *
FROM Events
WITH (CalendarId='primary',
OrderBy='startTime')