[WIP] Allows to sort on a field

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