Various fixes to "Converting C to D" page

Changed typedef example to use library example.
Changed char[] to string in examples.
Changed .sort to use std.algorithm.sort.

A detab is in a separate commit.