Make duplication metrics functions private.
Sort duplication signature components function.