DSVariantCollection.Sort(OnValue)
Sort the pairs according to a key (OnValue = FALSE) or a value (OnValue = TRUE).