Is it possible to reorder samples in a PLINK dataset, per an order specified in a second file?
I've tried the "--keep" and "--recode" options, but they don't do it
Interesting to know why would you need them to be ordered?
Some programs like PREST-plus need the data to be sorted by FID/IID to run properly.
plink --bfile [original fileset] --indiv-sort f [file describing new order] --make-bed --out [new prefix]
(More discussion at https://www.cog-genomics.org/plink2/data#indiv_sort .)