fix sort to show directories first