serialization_sort: Move parameter struct and internal sorter inside bits namespace.

Rename serialization_sort_parameters -> serialization_bits::
sort_parameters and serialization_internal_sort ->
serialization_bits::internal_sort.

There is no reason to make these interfaces public before someone
requests them.