Hi Abhijeet
Thanks again for your answer.
I'm already using "sap.ui.model.Sorter" in the handleViewSettingsDialogButtonPressed() method. I thought that was the only way to carry out the sorting.
On another note, I think the only way I can get this to work is by somehow changing the way the paging (growing) is working for the list.
I need to change the way the skip and top url parameters are set.
e.g.
at the moment in the paging the following is carried out
first scroll
skip = 0
top = 10
next scroll
skip = 10
top = 10
next scroll
skip = 20
top = 10
But I want to change it so that is behaves in a similar way to a sort request
i.e.
first scroll
skip = 0
top = 10
next scroll
skip = 0
top = 20
next scroll
skip = 0
top = 30
This way when the user scrolls the sort will be carried out on all items in the list.
Also due to DB caching the response time is not that bad as you have already hit the previous 10 items before.
Know I just need to work out how to do this.
Thanks
Andrew