sort files and dirs