[plain] view plain copy a <- c(5,4,3,2,1) b <- c(1,2,3,4,5) c <- cbind(a,b) [plain] view plain copy c[order(c[,1]),] #按第一列递增排序