class SortOrder {

    @Override
    public boolean equals(Object obj) {
        if (!(obj instanceof SortOrder)) {
            return false;
        }
        if (this == obj) {
            return true;
        }
        SortOrder so = (SortOrder) obj;
        return new EqualsBuilder().append(field, so.field).isEquals();
    }

    public  SortOrder(String field);
    public  SortOrder(String field, boolean descending);

}