sort dirs from glob numerically (as each dir represents the assignment)