array sort by operator < on elements