D is great at method chaining, but:
str.toLower.strip().split("").sort();
is the same as
sort(split(strip(str.toLower),""));
and usually the non-chained one is shorter, which I just realised, which lets me shorten my answer to Manage Trash SoManage Trash So :D