Update queries.md

Re-order Offset and Limit heading so they match the order given in the code example.