bySourcePriority
fun bySourcePriority(vararg sources: ERROR CLASS: Symbol not found for ParticipantSource): Comparator<ParticipantState>
Returns a comparator that prioritizes participants whose ParticipantState.source matches one of sources, in the given order. Sources not in the list are placed last.
Example: bySourcePriority(RTMP, SRT, WHIP) → RTMP first, then SRT, then WHIP, then everything else.