You need to sign in to do that
Don't have an account?
vijendhar
how to display list data in order
Hi all,
I have a scenario asked in interview, list is loaded with all the countrys, now question is , in the list first need to show UK, US and after that display sorted list of countrys
can any one help how to achive it?
Thanks
I have a scenario asked in interview, list is loaded with all the countrys, now question is , in the list first need to show UK, US and after that display sorted list of countrys
can any one help how to achive it?
Thanks
All Answers
these answer is good . but is there any chance by storing all countrys in to one list. List<String> countries = new List<String>{'India','Pakistan','UAE','Bermuda' ,'UK','US' }; IN these how can i display 'UK','US' are first remaining will be in sort order?