ordered directory scan