It doesn't sort them in the programming sense, it's just moving files to another directory based on the filename
qsort -w /home/user/Documents -t ext --df .txt
is equivalent to
ls *.txt | xargs -I {} mv {} /home/user/Documents
Permanently Deleted
Permanently Deleted
Permanently Deleted
Good job Docker!
Source? I tried searching for it and found nothing.