*/
public static Comparator getBindingOrExpressionComparator(
final FacesContext facesContext, final UIComponent child, final String var, final boolean descending,
final Comparator comparator) {
final ValueExpression valueBinding = child.getValueExpression("value");
return new ValueExpressionComparator(facesContext, var, valueBinding, descending, comparator);
}