Function Sort Orders Class

SortOrderNumbers

Find the numbers of the valid sort orders/collating sequences and return them in a string.

Signature (Visual Basic / VBA)

Public Function SortOrderNumbers( _
    Optional ByVal vSeparator As Variant _
    ) As String

Code Example

    SortOrderNumbers() = "0, 1, 3, 6, 7, 9, 10, 11, 12, 15, 16, 19, 20, 22, 33, 45, 54, 56, 1024, 1027, 1030, 1031, 1033, 1034, 1035, 1036, 1039, 1040, 1043, 1044, 1046, 1057, 1069, 1078, 1080, 2048, 2055, 2057, 2060, 2064, 2067, 2070, 2077, 3079, 3081, 3084, 4103, 4105, 4106, 4108, 5127, 5129, 5130, 5132, 6153, 6154, 7177, 7178, 8201, 8202, 9225, 9226, 10250, 11274, 12298, 13322, 14346, 15370"

Parameters

Parameter Description
vSeparator String used to separate the collating sequence numbers within the result string. vSeparator defaults to ", " if it is missing or Null or cannot be fixed up to a String.

Notes & Version History

Note This function takes several seconds the first time it is run within an instance of the Entisoft Tools, but the results of that calculation are cached to speed future calls to this function.