I am using RichFaces 3.10 and I am trying to implement sorting in my datatable but its not working , The code is below , any suggestions would be welcome
<rich:dataTable width="700" id="searchList" rows="10" columnClasses="col" value="#{search2.jobs}" var="category" rowClasses="tableRowClass" styleClass="tableClass">
<rich:column sortable="true" sortExpression="#{category.companyName}" ><f:facet name="header">
<h:outputText styleClass="headerText" value="Company Name" />
</f:facet>
<h:panelGroup>
<h:outputLink>
<h:outputText value="#{category.companyName}" />
</h:outputLink>
</h:panelGroup>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText styleClass="headerText" value="Location" />
</f:facet>
<h:outputText value="#{category.location}" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText styleClass="headerText" value="Date" />
</f:facet>
<h:outputText value="#{category.date}" />
</rich:column>
</rich:dataTable>