The dictionary.getValues() function returns all the value portions of the name/value pairs in a dictionary. The return type is an array of ANY type values. Each value is associated with a key in the dictionary.
If the ordering dictionary property is set to none, you cannot rely on the order of the returned values; otherwise, the order is specified in the description of that property (see Dictionary properties).