4 Replies Latest reply on Apr 9, 2008 12:20 AM by long

    dataTable: sorting a column numerically and not alphabetical

    lessard

      Hi all,

      I'm using the rich:dataTable component and I trying to sort a column containing number. I've set the sortBy property with the value of the property bean (sortBy="#{bean.property} ) but my column gets sorted alphabetically and not numerically (1,10, 101, 2,21 3,...).

      Is there a way to sort numerically?

      Regards