Creates a SEF compatible sort header. Standard Joomla function will add a href="#" tag, so with SEF enabled, the browser will follow the fake link instead of processing the onSubmit event; so we need a fix.
Signature
public function sefSort(string
$text,
string
$field,
JObject
$list )
Parameters
$text
Header text
$field
Field used for sorting
$list
Object holding the direction and the ordering field