title: How to sort the dropdown list before displaying in dropdown box
body: <p><img src="https://i.stack.imgur.com/xo6Du.png" alt="This is drop down list" /></p>
  <p>The below image will show the code for that drop down box. It will return a list of object, after that I'm creating new SelectItem object. Is there any way to sort the list of object before I'm creating new SelectItem object.</p>
  <p><img src="https://i.stack.imgur.com/Y9L0W.png" alt="Java Code for Drop Down box" /></p>
  <p>Sorry, I'm not able to send the entire code, due to confidential</p>