In the all files section below the header, you would be seen a Sort button when you click the button you will see a dropdown where you can sort your files or folders accordingly.