Check whether the rownames of object are correct, if yes then put the rows in the correct order.
object
Useful links