code: public static Sort sort(Sort... sort) {
          if (sort.length == 1) {
              return sort[0];
          } else {
              Sort s = new Sort(true);
              for (Sort x : sort) {
                  ((ArrayNode) s.node).add(x.toJson());
              }
              return s;
          }
      }
docs: <pre>
  [ sort,...]
  </pre>