title: Swagger API Operations Ordering
body: <p>How do I sort my operation by method alphabetically e.g. <strong>DELETE</strong>, <strong>GET</strong>, <strong>POST</strong>, <strong>PUT</strong>.</p>
  
  <p>I have read from this post but it is in HTML but in my case, I have integrated Swagger into Spring Boot so I need to sort it when creating a Docket.</p>
  
  <p><a href="https://stackoverflow.com/questions/24951268/sort-api-methods-in-swagger-ui">Sort API methods in Swagger UI</a></p>
  
  <p>Then I noticed this method <code>operationOrdering()</code> in Docket, but I still cannot make it work.</p>