Sort the index pattern list
Merge pull request #2301 from rashidkpc/fix/index-list-sort

Sort the index pattern list