code: @Override
  	public CommerceNotificationQueueEntry fetchBySent_Last(boolean sent,
  		OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) {
  		int count = countBySent(sent);
  
  		if (count == 0) {
  			return null;
  		}
  
  		List<CommerceNotificationQueueEntry> list = findBySent(sent, count - 1,
  				count, orderByComparator);
  
  		if (!list.isEmpty()) {
  			return list.get(0);
  		}
  
  		return null;
  	}
docs: Returns the last commerce notification queue entry in the ordered set where sent = &#63;.
  
  @param sent the sent
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the last matching commerce notification queue entry, or <code>null</code> if a matching commerce notification queue entry could not be found