CListView pagination & sorting


Can anyone show me a working example how to get pagination and sorting working with CListView?

Problem has now been solved.

However I have another question:

Why does the sorting and pagination align to the right hand of the page, where is the CSS for this setup, because I would prefer it at the left.

May i know how you sort you CListView? Thanks :)

$this->widget("zii.widgets.CListView", array(

    	"dataProvider" => $dataProvider,

    	"itemView" => "_list",

    	"sortableAttributes" => array(