code: @Override
  	public CommerceOrder[] findByGroupId_PrevAndNext(long commerceOrderId,
  		long groupId, OrderByComparator<CommerceOrder> orderByComparator)
  		throws NoSuchOrderException {
  		CommerceOrder commerceOrder = findByPrimaryKey(commerceOrderId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceOrder[] array = new CommerceOrderImpl[3];
  
  			array[0] = getByGroupId_PrevAndNext(session, commerceOrder,
  					groupId, orderByComparator, true);
  
  			array[1] = commerceOrder;
  
  			array[2] = getByGroupId_PrevAndNext(session, commerceOrder,
  					groupId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce orders before and after the current commerce order in the ordered set where groupId = &#63;.
  
  @param commerceOrderId the primary key of the current commerce order
  @param groupId the group ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce order
  @throws NoSuchOrderException if a commerce order with the primary key could not be found