List.sortBy<'T,'Key> Function (F#)
Visual Studio 2012
Sorts the given list using keys given by the given projection. Keys are compared using Operators.compare.
Namespace/Module Path: Microsoft.FSharp.Collections.List
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
List.sortBy : ('T -> 'Key) -> 'T list -> 'T list (requires comparison)
// Usage:
List.sortBy projection list