code: @Override
    public Long sort(final byte[] key, final SortingParams sortingParameters, final byte[] dstkey) {
      checkIsInMultiOrPipeline();
      client.sort(key, sortingParameters, dstkey);
      return client.getIntegerReply();
    }
docs: Sort a Set or a List accordingly to the specified parameters and store the result at dstkey.
  @see #sort(byte[], SortingParams)
  @see #sort(byte[])
  @see #sort(byte[], byte[])
  @param key
  @param sortingParameters
  @param dstkey
  @return The number of elements of the list at dstkey.