Change Linux file tree sorting to be like Windows

This is for #5043.