In reply to Amany Hassan.

Loop over the rows. Replace each row with the sorted row:

do i = 1 to nrow(A);
v = A[i, ]`; /* get i_th row; transpose to column vector */
call sort(v); /* sort it */
A[i, ] = v`; /* replace with sorted row */
end;

You couls also use the SORT function in the DATA step.