Array sort functions #1.