Method Sort
Sort(IComparer<BytesRef>)
Returns the values array sorted by the referenced byte values.
Note: this is a destructive operation. Clear() must be called in order to reuse this BytesRefHash instance.
Declaration
public int[] Sort(IComparer<BytesRef> comp)
Parameters
Type | Name | Description |
---|---|---|
IComparer<BytesRef> | comp | The IComparer<BytesRef> used for sorting |
Returns
Type | Description |
---|---|
System.Int32[] |