Sorting the two buckets
char [ ] oddArray = odd . ToCharArray ( ) ; Array . Sort ( oddArray ) ; odd = new String ( oddArray ) ; char [ ] evenArray = even . ToCharArray ( ) ; Array . Sort ( evenArray ) ; even = new String ( evenArray ) ;