Sort dirs first