I have a number of files in a directory, and I add extended file attributes to them
setfattr -n user.processorder -v 2 myfile.txt
I was wondering, is it possible to iterate over the files in the directory with a FOR loop but sorting them according to the extended file attribute "processorder"?