code: protected final T findFirstByQuery(String query, String sort, Object... params) {
          return this.dataAccess.findFirstByQuery(query, sort, params).orElse(null);
      }
docs: queries with the given string, sorts the result and returns the first element. <code>null</code> is returned if no element is found.
  
  @param query  the query string
  @param sort   the sort string
  @param params the parameters to replace # symbols
  @return the first element found or <code>null</code> if none is found