Sort The String Using Sort Function In Java