Templates for sorting generic containers compile

I switched beck to a header-only template library; my problem (of access
to both the container type and data member type of a template parameter)
can be solved by using a template template parameter, which provides the
desired features.