title: Representing multiple ordering through Spring @RequestParam
body: <p>My Application currently serves requests for data, and can order the data to the users requirements, using RequestParams</p>
  
  <pre><code>@RequestParam(value = "orderBy", required = false, defaultValue = "severity") String orderBy,
  @RequestParam(value = "order", required = false, defaultValue = "desc") String order,
  </code></pre>
  
  <p>You get the idea.</p>
  
  <p>However, I want to implement multi sorting, (ordering by severity, then matching severities are ordered by date). Code wise, this is easy (google-collections to the rescue), but how would I expose this to the user calling the service? </p>
  
  <p>Ideally, I wouldn't want multiple orderBy @RequestParams (orderBy2, orderBy3, orderBy4) , as that's just plain ugly.</p>
  
  <p>Thoughts?</p>
  
  <p>Cheers</p>