Reorder each row in the input matrix A by the column indices found
in the corresponding row of the matrix priority_indices.
reorder_rows(A, priority_indices)A matrix, containing e.g. counts or baselines. Rows represent time (ordered from most recent to most distant), columns represent e.g. locations or data streams (numbered from 1 and up).
An integer matrix as output by
prioritize_cols.
An integer matrix of the same dimension as A.