typo for sort dir