There are many ways of arranging arrays.
1) you can compare the elements of the arrays one to another
without converting them into string. I think this is much better to be done if the aim is just to arrange integers.
2) itoa() is a nice function to use if we want the elements to be
arranged using string comparing algorithm.