code: protected void appendSort(SolrQuery solrQuery, @Nullable Sort sort, @Nullable Class<?> domainType) {
  
  		if (sort == null) {
  			return;
  		}
  
  		for (Order order : sort) {
  			solrQuery.addSort(getMappedFieldName(order.getProperty(), domainType),
  					order.isAscending() ? ORDER.asc : ORDER.desc);
  		}
  	}
docs: Append sorting parameters to {@link SolrQuery}
  
  @param solrQuery
  @param sort