Hi friends...
Maybe some of you can help me make this work?
I have an array containing objects. All these objects have a priority key. This priotiye can be retrieved by a function getPriority.
So what I want to do is to sort this array of objects so that the one with priority 1 comes before 2 and so on...
Can anybody help me?
I've lokked into some of the sort functions provided in php, but they haven't been working for me.
$priority = $object->getPriority();
Thanks