hi members, i tried to sort my whole matrix X for its rownames. the rownames are unsorted id numbers: i tried it with sort(rownames(X)) or order(rownames(X)) but then i get only a vector of the rownames:(... any suggestions? thanks paul