public override bool Equals(object o)
{
if (this == o)
{
return true;
}
if (!(o is SortField))
{
return false;
}
SortField other = (SortField)o;
return (StringHelper.Equals(other.field, this.field) && other.type == this.type && other.reverse == this.reverse && (other.comparatorSource == null ? this.comparatorSource == null : other.comparatorSource.Equals(this.comparatorSource)));
}