CHANGED:applied sort of method of Array2