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

This method overrides ReadOnlyFormCollection.sort.

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

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

Source reference: src/forms/FormCollection.ts:115.

Parameters

Returns: this

The observable collection on which the operation is performed.

See also

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