Function that returns the string s in sorted form such that the positions of alphabets and numeric digits remain unchanged
static String sort ( String s ) { char [ ] c = new char [ s . length ( ) + 1 ] ;