title: Groovy sorting string asc
body: <p>How to sort string names in array on ascending order .</p>
  
  <p>I tried sort method  but it fails to sort on name basis .</p>
  
  <p>def words = ["orange", "blue", "apple", "violet", "green"]</p>
  
  <p>I need to achieve like this :</p>
  
  <p>["apple", "blue", "green", "orange", "violet" ]</p>
  
  <p>thanks in advance. </p>