Ok I changed the encapsultation but it doesn't work. The problem is that I need to make a sort on the FirstForm of my solution (companies). In this case, where it is better to call the forms.companies.controller.showRecord(sortedFs)

Johan, for you, is it possible to sort a list in a Mobile app ? if yes, how ?

Finally, I understood why it didn't work !Sage CRM add some space characters (" ") in the field values of the database ... That is why the sorting wasn't working. I had to trim the values in the ws_read, and now it works like a charm.Thank you for your answers !