indexOfCollection
Determines the index of a given collection in the composite.
Return
The index of the collection in the composite, or -1 if the collection does not exist in the composite.
Parameters
collection
The collection to find the index of.