allow sorting by cost_type again

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>