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

    dataTable: sorting a column numerically and not alphabetical

    Francois Lessard Newbie

      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