indexOf
Determines the index of a given data source in the collection.
Return
The index of the data source in the collection, or -1 if the data source does not exist in the collection.
Parameters
dataSource
The data source to find the index of.