Better support for query sort parameter

- Each sort parameter can be checked.
- AfsQueryCoder now supports new sort parameter.
- Example with helpers has been updated.
Add Promote integration example
Fix documentation