How to put the button in toolbar to switch folder format

I want to swith folder format with one click.not menu
I want to put the button whitch has that function to a toobar .
not menu button ,only one click ,I want to set the button.

I want to swith kinds of sort.
I like a descending order.therefore I need to click a column twice.
this is annoying me.

Please how to set the button. sorry my poor English.

You didn´t say, what sorting you exactly want. If it´s by name, it would be

set SORTBY=name set SORTREVERSE=on

You can also combine both into a single command (which may avoid doing two re-sorts, though I'm not 100% sure it makes a difference):


Everything went well. Thank you for replying. I'm sorry for my poor English. My best regards.