Create Sort characters of String in Linear Time