Announcement Announcement Module
Collapse
No announcement yet.
PagedListHolder sort-functionality: int-values not sorted correctly! Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • PagedListHolder sort-functionality: int-values not sorted correctly!

    Hi!
    I am new to Spring and just started playing around with PagedListHolders. They seem to be pretty convienient - BUT I noticed that the built in sort capability doesn't really work for int-values to be sorted. It looks like they're treated as Strings which results to a strange "sorted list" like 1, 12, 13, 4 ...
    Is there a workaround? Would be great if someone could point me in the right direction,
    Thanks,
    B

  • #2
    too stupid

    maybe it woul be helpful to declare the int-Variable as an int and not as String ...

    Comment

    Working...
    X