Removes old sorting procedure from attacks, uses built-in generic interface instead.