Php Order Array Of Objects By Measurable Attributes