Here is a sample data set:
sample1 <- data.frame(Names=letters[1:10], Values=sample(seq(0.1,1,0.1)))
When I\'m reordering the data set,
Try
rownames(Ordersample2) <- 1:10
or more generally
rownames(Ordersample2) <- NULL