add example to sort query