2020.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 next page
Integer Adds a new item in the sort list.
Clear() Empties the sort list, removing all
the strings.
"Count()" on the next page Integer
Returns the number of elements
in the list.
"Delete(Integer Index)" on the next
page
Removes an item from the sort
list.
"Find(const String Key)" on the next
page
Integer Finds an item in the list and
returns its index.
"Key(Integer Index)" on page243 String Returns the key at the specified
index.
"Sort()" on page243 Sorts the list.
"SortByValue()" on page243 Sorts the list based on the value
instead of the key.
"Value(Integer Index )" on page243 Integer Returns the value at the specified
index.
Page 241