}
public EntryValue getSortByElement(Sort element) {
System.out.println("Looking for value for "+element.getLabel() + " from "+this.sortValues.length);
EntryValue[] values = this.getSortValues();
LabelNamespaceElement compare = new LabelNamespaceElement( element.getLabel(), element.getNamespace(), element.getElement() );
for (int i = 0; i < values.length; i++) {
System.out.println("Compare to value "+values[i].getLabel());
if( compare.equals( new LabelNamespaceElement( values[i].getLabel(), values[i].getNamespace(), values[i].getElement() ) ) ){
System.out.println("Match.");
return values[i];
}
}