using how to sort the list of names for example i have list of names as follows:
Kumar
Sathish
Rajesh
Vinay.
when i run i want rajesh to be first name always how to do.Output should be as follows;
Rajesh
Kumar
Sathish
Vinay.
Regards,
Rao;
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sukesh MarlaPosted Sep 17, 2012, 4:58 AM
x.add("Kumar");
x.add("Rajesh");
x.add("Satish");
x.Sort();