Fixed sorting order for LHS (when marginalized).