Here is my actual requirement (edited)
array('1-One','2-second','10-ten','3-third','11-elevan','4-four')
How can I print the above array as
1-One
2-second
3-third
4-four
10-ten
11-elevan
ie by the sort order of prefix number
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
DEMO