docs: @Override
      public void readFields(DataInput in) throws IOException {
          try {
              sort.readFields(in);
              sortPriority.readFields(in);
              value = (Writable) ObjectUtil.getClass(in.readByte()).newInstance();
              value.readFields(in);
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
      }