import os,sequtils,algorithm for n in sorted[string](toSeq(walkFiles("/bin/*")),system.cmp[string]): n.extractFilename.echo