[RFR] allow to sort item in reference select

- [x] add sort param to the request
- [x] ensure the item stay sorted on the select
- [x] Allow to apply map function to referenced value
- [x] Allow map function to have acces to corresponding entry
`and references ` ?