[WIP] allow to sort item in reference select

- [x] add sort param to the request
- [x] ensure the item stay sorted on the select
ng-repeat called getChoices on each iteration, which did not play nice with ng-model, and the fact it returned an array. (ng-model detected a change and recalled ng-repeat)