ensure annotations are always supplied in a stable order

To help with cacheability of requests, ensure that annotations are always added to the request string in a consistent order.