Print the last row from the remaining rows
if ( k < m ) : NEW_LINE INDENT i = n - 1 NEW_LINE while ( i >= l ) : NEW_LINE INDENT a [ m - 1 ] [ i ] = Sorted [ index ] NEW_LINE index += 1 NEW_LINE i -= 1 NEW_LINE DEDENT m -= 1 NEW_LINE DEDENT