rename directory with simple quick sort