params['Entities'] in Reporting not sorted?

When I create a report and use in groovy

def list = params['Entities'] the entities are somehow unsorted appearing and the printout is not sorted.

I did expect, that the entities are sorted the same way as they where when I did call the report.

Do I have to program a sorting of these entities in groovy ?

Regards

Felix

Hello @f.zehnder,

The data obtained from params is not sorted. You need to sort the data yourself in the groovy script.

Regards,
Nikita

Hello Nikita

This is not good at all.

How do I know how the user was sorting the list before ?

If we have a list of contacts, the user can order them by country, name, street, place and he is expecting that the list of contacts which he wants to print is sorted the same way he has it on the screen.

How to solve this ?

Regards

Felix