Reorganized consequences sorting to use the extender
Fixed oversight in consequence sorting