create a directory for sorting