Is there a simple way in construct to compare across objects and instances?
Say I have 3 different objects with multiple instances of each. So 10 instances of objA, 10 of objB and 10 of objC
For each object and their instances i want to pick the one that has the highest instance variable "posY" so check 3 different objects and 30 instances. (this bit is ok)
Then I want to take the 3 that are picked from the above and compare those to give me the object type and the instance that has the highest instance variable "posY"
Is there a simple way in construct to compare across objects and instances this way?