| Parameter | Description |
|---|---|
| fs | A string to compare. |
| bytes | A byte sequence to compare. |
| bytesLen | The number of bytes in the byte sequence. |
int
A number denoting the sort position of this string relative to the byte sequence:
0 denotes that this string and byte sequence have the same sort position.
-1 denotes that this string should be sorted to precede the byte sequence.
+1 denotes that this string should be sorted to follow the byte sequence.
Returns the sort position of this string relative to a byte sequence.
| Parameter | Description |
|---|---|
| fs | A string to compare. |
| other | Another string to compare. |
int
A number denoting the relative sort position of the strings:
0 denotes that the strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this first string should be sorted to follow the other.
Returns the sort position of this string relative to another.