@Override
  public int encode(PositionedByteRange dst, String val) {
    return OrderedBytes.encodeString(dst, val, order);
  }
Creates a new variable-length {@link String}.
@param order the {@link Order} to use
hbase-common/src/main/java/org/apache/hadoop/hbase/types/OrderedString.java