---@diagnostic disable: missing-return, lowercase-global ---@param criterion status ---@param class CLASS_SORT_ORDER ---@param name ---@param status ---@param reverse boolean ---Sorts the event invite/signup list. Does not cause the list to automatically remain sorted; e.g. if sorted by status and a character's status is changed, the list will not be resorted until this function is called again. function CalendarEventSortInvites(criterion, class, name, status, reverse) end