Could The Template Of Clistview Be Customized?

I want to render the clistview as a tableview like the gridview。and the table header can be sorted。