Order a vector in function to another vector

>nuevos<-(exam[411:510,1]) > [,1] 401 -0.325087210 402 0.576824342 403 0.314110438 404 -0.710141482 405 0.079179458 406 0.876819478 407 -0.563755647 408 -0.024573542 409 0.072860869 410 0.141759722 411 0.645346837 412 -0.178754696 413 -0.745086021 414 0.741761201 415 1.537360962 416 0.478560270 417 -0.721503050 418 -0.136435690 419 -0.264058207 420 1.851815905 421 0.854542022 422 0.055184071 423 0.214454147 424 -0.374941314 425 0.268580192 426 0.458531169…

Details