2021.2

Table Of Contents
To create a StringSort object, use CreateObject("MetadataLib.StringSort") or the {A07730B7-
4100-457E-91E2-31BFF24E1EC4} CLSID. Although the object is published by the metadata
library, it is completely independent of the metadata and can be used in any script, including
those run outside of PlanetPress Suite.
Methods
Name Returns Description
"Add(const String Key, Integer Value)"
on the facing page
Integer Adds a new item in the sort list.
Clear() Empties the sort list, removing all
the strings.
"Count()" on the facing page Integer
Returns the number of elements
in the list.
"Delete(Integer Index)" on the facing
page
Removes an item from the sort
list.
"Find(const String Key)" on the facing
page
Integer Finds an item in the list and
returns its index.
"Key(Integer Index)" on page242 String Returns the key at the specified
index.
"Sort()" on page242 Sorts the list.
"SortByValue()" on page242 Sorts the list based on the value
instead of the key.
"Value(Integer Index )" on page242 Integer Returns the value at the specified
index.
Page 240