My requirement is to display year values in a dropdown as Current year,Next year and Previous year.
Eg:2017, 2018, 2016
Issue: Without specifying the sorting order, the values get sorted in asec. Moreover there are only two options for sorting either Ascending or Descending. I want data to be displayed the way it is returned from DB.
Any help would be appreciated!