code: public static Sort by(final String... properties) {
  
      Assert.notNull(properties, "Properties must not be null!");
  
      return properties.length == 0 ? Sort.unsorted() : new Sort(properties);
    }
docs: Creates a new {@link Sort} for the given properties.
  
  @param properties must not be {@literal null}.
  @return