link to Stack Overflow answer re: Dir sorting