\Bitrix\Sale\Internals\EntityCollection::getIndexById();
Method searches item in collection by ID and returns its internal index. Non-static method.
No parameters