public void testOrderWithSpecialNames() {
   QueryBuilder<SpecialNamesEntity> queryBuilder = dao.queryBuilder();
   queryBuilder.orderAsc(Properties.Avg);
   queryBuilder.orderAsc(Properties.Count);
   queryBuilder.orderAsc(Properties.Distinct);
   queryBuilder.orderAsc(Properties.Index);
   queryBuilder.orderAsc(Properties.Join);
   queryBuilder.orderAsc(Properties.On);
   queryBuilder.orderAsc(Properties.Select);
   queryBuilder.orderAsc(Properties.Sum);
   queryBuilder.orderAsc(Properties.Order);
   queryBuilder.list();
 }
 /**
  * Executes the query and returns the result as a list containing all entities loaded into memory.
  *
  * @param dao
  * @param isAsc
  * @param orderProperty
  * @return
  */
 public static List getList(AbstractDao dao, boolean isAsc, Property... orderProperty) {
   setIfLog();
   QueryBuilder queryBuilder = dao.queryBuilder();
   if (isAsc) {
     queryBuilder = queryBuilder.orderAsc(orderProperty);
   } else {
     queryBuilder = queryBuilder.orderDesc(orderProperty);
   }
   List indexFavList = queryBuilder.list();
   return indexFavList;
 }