public EntityQuery orderBy(String... fields){
  this.orderBy=Arrays.asList(fields);
  return this;
}

public EntityQuery orderBy ( String ... fields ) { this . orderBy = Arrays . asList ( fields ) ; return this ; }
the fields of the named entity to order the resultset by ; optionally add a " asc " for ascending or " desc " for descending note : each successive call to any of the orderby ( . . . ) methods will replace the currently set orderby fields for the query .
