Sorting on button click

On Each column header I have button with text sort. I want to sort the column on the button click only.

You need to prevent from datatable from being sorted on header click,

on:{
  	onHeaderClick:function(id, e){
    	return false; //prevent from default behaviour
    }
  }

http://webix.com/snippet/53798620

Thanks for you reply.
I am still little but confuse here.
How I can call sorting on button click.
//sorting code.
I think I suppose to call sort method and asc and dsc scope I suppose to maintain by my self that was not case previously with onHeaderClick.
Is there an easy way to call sort as it get called with onHeaderClick.

Yes, you need to deal with sorting direction in your code. Like there:
http://webix.com/snippet/9a797b7a

thanks !! It was simple than I estimated.