code: private void _buildOrderClause(
                      final List<Order> orders,
                      final StringBuilder stmt
                      )
      {
          int  n_orders = (orders == null ? 0 : orders.size());
          if (n_orders == 0) {
              return;
          }
  
          stmt.append( _ORDER_BY_ );
          for (int  i = 0; i < n_orders; i++) {
              if (i > 0) {
                  stmt.append( "," );
              }
  
              final Order  order = orders.get( i );
              _buildProperty( order.getProperty(), stmt );
              //throws SearchException
  
              if (order.isDescending()) {
                  stmt.append( _DESC_ );
              }
          }
      }
docs: Order
  ORDER BY T.a
  ORDER BY T.a DESC
  ORDER BY T.a DESC, T.b