ReadOnlyObservableCollection.sort - Andrei15193/react-model-view-viewmodel GitHub Wiki

Reverses the items in the collections and returns the observable collection.

protected sort(
  compareCallback?: (left: Exclude<TItem, undefined>, right: Exclude<TItem, undefined>) => number
): this

Source reference: src/collections/observableCollections/ReadOnlyObservableCollection.ts:989.

Parameters

Returns: this

The observable collection on which the operation is performed.

See also

⚠️ **GitHub.com Fallback** ⚠️