Php Sort Array Of Objects By Properties Of A Rhombus