added sortObjArray() for them