sort array in bash