Table of Contents

Method NeedSort

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

NeedSort(IComparer<T>)

Determines if the list needs sorting based on given criteria.

public bool NeedSort(IComparer<T> comparer)

Parameters

comparer IComparer<T>

Comparer object to perform comparison between items in the list.

Returns

bool

True if list has to be sorted; otherwise false.