Click or drag to resize
SeriesModuleSortWithV, K Method
Returns a new series, containing the observations of the original series sorted using the specified comparison function. ## Parameters - `series` - An input series whose values are sorter - `comparer` - A comparer function on the series values. The function should return negative integer when the first value is smaller, positive when it is greater and 0 when the values are equal. [category:Sorting and index manipulation]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, V> SortWith<V, K>(
	FSharpFunc<V, FSharpFunc<V, int>> comparer,
	Series<K, V> series
)

Parameters

comparer
Type: Microsoft.FSharp.CoreFSharpFuncV, FSharpFuncV, Int32

[Missing <param name="comparer"/> documentation for "M:Deedle.SeriesModule.SortWith``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Int32}},Deedle.Series{``1,``0})"]

series
Type: DeedleSeriesK, V

[Missing <param name="series"/> documentation for "M:Deedle.SeriesModule.SortWith``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Int32}},Deedle.Series{``1,``0})"]

Type Parameters

V
K

Return Value

Type: SeriesK, V

[Missing <returns> documentation for "M:Deedle.SeriesModule.SortWith``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Int32}},Deedle.Series{``1,``0})"]

See Also