Array sort added