When saving the layout of a grid with multiple sorted columns, the order in which the column where sorted is not saved.
Suppose there are 3 columns: weight, time, date
User now sorts grid first on date, then on time.
Now restart the application and load the layout of the grid - it will be sorted on time and then date, not on date and then time.
Actually, the order of the sort is not saved by 'saveLayoutToDevice' ; only a flag 'sorted = yes' is saved in the XML.
The only workaround I have foundis to ask customer to order his columns in the same order he wants them sorted - then it works.
Is there a better way to get multiple sorted columns saved correctly so the order of sorting is respected when layout is loaded ?