func (p VersionPtrs) isSorted(skipFields uint) bool {
	if len(p) < 2 {
		return true
	}

	previous := p[0]
	for _, ptr := range p {
		if Compare(previous, ptr) > 0 {
			return false
		}
		previous = ptr
	}
	return true
}
// isSorted is called by radixSort and multikeyRadixSort, and won't contain any nil.
isSorted is called by radixSort and multikeyRadixSort, and won't contain any nil.
// isSorted is called by radixSort and multikeyRadixSort and won ' t contain any nil .
func (p VersionPtrs) isSorted(skipFields uint) bool {
	if len(p) < 2 {
		return true
	}
	previous := p[0]
	for _, ptr := range p {
		if Compare(previous, ptr) > 0 {
			return false
		}
		previous = ptr
	}
	return true
}
func ( p VersionPtrs ) isSorted ( skipFields uint ) bool { if len ( p ) < 2 { return true } previous := p [ 0 ] for _ , ptr := range p { if Compare ( previous , ptr ) > 0 { return false } previous = ptr } return true }
isSorted is called by radixSort and multikeyRadixSort, and won't contain any nil.
isSorted is called by radixSort and multikeyRadixSort and won ' t contain any nil .