On Friday, 1 May 2020 at 12:29:26 UTC, Steven Schveighoffer wrote: >>> dchar[] line3 = sort(line2.to!(dchar[])); > > dchar[] line3 = sort(line2.to!dchar[]).release; > > https://dlang.org/phobos/std_range.html#.SortedRange.release > hmmm, whích results in: Error: cannot use [] operator on expression of type dchar