PIM-2341 : fix completeness sorter