If you have GNU Parallel http://www.gnu.org/software/parallel/ installed you can do this:

find folder1 folder2 -name "*.txt" -print | sort | parallel myCommand


You can install GNU Parallel simply by:

wget http://git.savannah.gnu.org/cgit/parallel.git/plain/src/parallel
chmod 755 parallel
cp parallel sem


Watch the intro videos for GNU Parallel to learn more:
https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1

Sorting the output of "find"?
Occasionally I see constructs like this in English sentences:


  
  Not only is this true in this case, but ...
  


What puzzles me is the "is this" part of it. The sentence is not a question, yet it seems to have a question-like order. Isn't this correct/preferred:


  
  Not only this is true in this case, but ...
  


Are there other cases where non-question sentences contain question-like parts (so to speak)?
