Thanks Sanford. I Just read your reply. I understand what you are saying, but think that it would be much nicer to handle this the way SQL handles it, with a default sort order for...
Did some more testing. There is another date field on the custom object, ("policyEffectiveDate") which is never empty. I tried sorting on that and all works fine. Then, I found som...
I experimented sorting by the policyId (text field):#set ($sortedList = $sorter.sort($rawList,"policyId:desc")) This works fine, it returns a sortedList to $sortedList as expected....