I have an array (Items) which holds lots of instances of a class (Item).
Item has 2 properties, a Group and an ID.
there may be more than Item in the array(Items) that have the same Group and ID properties.
How do I "search"/get the first Item which matches a specified Group and/or ID
Something like:
Item.getbygroup([group]) which returns an item
EDIT: And what would let me find the second one? So start searching for a point in the array