sorting different type file dialog