switched to using File::Find::prune which should prevent unnecessary depth-diving; also modified sort algorithm so that it sorts forst by depth, then lexicographically ignoring case