38
Views
3
Comments
[SortRecordList] Values left out after sorting list
Question
sortrecordlist
Service icon
Forge asset by SortRecordList Team

We have found that sorting a list with values 'filters' out certain rows, which of course is not expected behaviour.


List before sortrecordlist:

01-07-2020 B 121489 M-Tu-W-Th
01-07-2020 L 103935 Weekday
01-07-2020 R 115751 Weekday
01-07-2020 S 106226 Weekday
01-07-2020 Z 119220 Weekday
02-07-2020 B 121489 M-Tu-W-Th

SortRecordList on Date and Code (first and third column)

Result:

01-07-2020 L 103935 Weekday
01-07-2020 R 115751 Weekday
01-07-2020 S 106226 Weekday
01-07-2020 Z 119220 Weekday

So the text-values with a '-' in it are 'filtered' out ;-)


What can we do to prevent this?



kind regards, 

Paul / CoolProfs

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi Paul,


i tried to replicate this last night with some values containing a '-' and couldn't. (see attached oml)

Can you share a demo oml where this is happening, to see what exactly you are doing different from me ?

Dorine

TestSortRecordList.oml
2017-08-01 09-37-20
Paul van Hoof

Your demo is OK, as are other examples... 

2017-08-01 09-37-20
Paul van Hoof

Switched over to platform listsort and distinctlist actions. These work as expected without the strange problem mentioned above.



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.