Urgent : Objects Sorting

Hi there,

i have a little problem , i have four objects, obj01, obj02 , obj03, obj04, all these objects have two properties, “power”, “interest”…

now if i want to sort them in an array that object with higher power and lower interest comes first, and object lower power and higher interest comes last, can some one please tell me how to do that.,…

thanks in advance…!

Regards