[Snails] Use const ref.
[Snails] Code style fixes.
[Snails] Keep a list of all text parts.
[Snails] Parts order heuristic.

Reverse plaintext parts order if each next part is not shorter than the
previous one.