%SORTROWS Sort rows of gpuArray matrix in ascending order.
%   B = SORTROWS(A)
%   B = SORTROWS(A, COL) 
%   B = SORTROWS(A, DIRECTION) 
%   B = SORTROWS(A, COL, DIRECTION)
%   B = SORTROWS(A, ..., 'MissingPlacement', M)
%   B = SORTROWS(A, ..., 'ComparisonMethod', C)
%   [B,I] = SORTROWS(A, ...)
%   
%   Limitations:
%   Sorting cell arrays is not supported.
%   Sparse input is not supported.
%   
%   Example:
%    
%       N = 1000;
%       D = gpuArray.randn(N, N);
%       E = sortrows(D);
%   
%   E contains the rows of D reordered according to the result of sorting the 
%   first column of D with ties broken by considering further columns of D.
%   
%   See also SORTROWS, GPUARRAY, GPUARRAY.RANDN


%   Copyright 2013-2017 The MathWorks, Inc.
