, | Function getDocSort ( ) {

Creates a complex sort function closing on the provided specification document. Documents are compared according to the specification.

Arguments

Return Values

| Function

A Function suitable for use with standard sorting.