fix typos
delete trailing whitespaces
Fix total posting costs example
Merge pull request #177 from thdox/documentation-typos

Documentation typos
Sort buffer now attempts to keep point at the same xact.