Compares this string with `other` and returns either `-1`, `0`, or `1`.
source not stored for this graph (policy: none)