src/main/java/org/efaps/ui/wicket/models/field/AbstractUIField.java
@Override
    public Comparable<?> getCompareValue()
    {
        Comparable<?> ret = null;
        try {
            if (this.sortValue == null) {
                ret = getFactory().getCompareValue(this);
            } else {
                ret = this.sortValue;
            }
        } catch (final EFapsException e) {
            LOG.error("Catched error", e);
        }
        return ret;
    }
@Override
    public Comparable<?> getCompareValue()
    {
        Comparable<?> ret = null;
        try {
            if (this.sortValue == null) {
                ret = getFactory().getCompareValue(this);
            } else {
                ret = this.sortValue;
            }
        } catch (final EFapsException e) {
            LOG.error("Catched error", e);
        }
        return ret;
    }
{@inheritDoc}