I have an array having values as following : [\'1.hello\', \'10.hel\', \'12B.hepl\', \'9.hell\', \'12A.help\', \'2.helo\']
I want these sorted as : [\'1.hello\', \'2.