[RFR] Allows to sort on a field

- [x] Add field sorting
- [x] Add tests