added sort array