mfDefaultSorter for numeric types
Closed this issue · 2 comments
vosecek commented
<mfDefaultSorter by="id">ID</mfDefaultSorter>
sorts alphabetically (1,11,12...,2,21), not as number (1,2,3 ...,11,12).
Maybe add a param type
to mfDefaultSorter?
vosecek commented
My fault, _.orderBy() inside orders according to data type :-), so converting to number helped.
nehal076 commented
How did you convert to number?