code: public static Sort by(final Direction direction, final String... properties) {
  
      Assert.notNull(direction, "Direction must not be null!");
      Assert.notNull(properties, "Properties must not be null!");
      Assert.isTrue(properties.length > 0, "At least one property must be given!");
  
      return Sort.by(Arrays.stream(properties)//
          .map(it -> new Order(direction, it))//
          .collect(Collectors.toList()));
    }
docs: Creates a new {@link Sort} for the given {@link Order}s.
  
  @param direction must not be {@literal null}.
  @param properties must not be {@literal null}.
  @return