I have a folder named baypass which contains 2181 files, looks like this (just a few files as an example):
anacovis2_210_summary_betai_reg.out_new anacovis2_2110_summary_betai_reg.out_new anacovis2_2111_summary_betai_reg.out_new anacovis2_2112_summary_betai_reg.out_new
I want to have all of them sorted, so I used
ls -v -1
which did the sorting job for me, but I want to have these sorted files saved in a directory. So when I type "ls -v -1" files become sorted but if I type pwd or ls or any other command they will be unsorted again. So how can I save the sorted files? I want to have them sorted and saved to be able to merge them. The order of files are very important.