compareTo

Compares two given channels and returns 0, -1 or 1 depending on their comparison results.

Comparisons are done under the give GroupChannelListQueryOrder.

Return

the value 0 if c1 is equal to c2; a value less than 0 if c1 is less than c2; a value greater than 0 if c1 is greater than c2.

Since

3.0.173

Parameters

c1

GroupChannel object to compare.

c2

GroupChannel object to compare.

queryOrder

GroupChannelListQueryOrder to compare the given channels by.

sortOrder

SortOrder on which order to compare the channels to. Refer to GroupChannelListQueryOrder.channelSortOrder.

See also