Cannot sort the 2-d array

m just trying to sort the row 1 but getting error don’t know where am wrong