public boolean equals(Object o) {if (this == o) return true;if (!(o instanceof Sort)) return false;final Sort other = (Sort)o;return Arrays.equals(this.fields, other.fields);}
public override bool Equals(object o){if (this == o){return true;}if (!(o is Sort)){return false;}Sort other = (Sort)o;return Arrays.Equals(this.fields, other.fields);}