anchor.diff:  		try {
   			final client = _clientFactory.getClient();
   			cabinClasses = await _eventRepository.getCabinClassDetails(client);
  +			cabinClasses.sort(_classesComparator);
   
   			final allocationList = await _allocationRepository.getList(client);
  -			allocationList.sort(_comparator);
  +			allocationList.sort(_allocationComparator);
   			allocations = _groupAllocations(allocationList);
   		} catch (e) {
   			print('Failed to load list of allocations: ${e.toString()}');
  
positive.code: 		}
  	}
  
  	int _comparator(AllocationListItem one, AllocationListItem two) {
  		if(one.teamName != two.teamName) {
  			return one.teamName.compareTo(two.teamName);
  		} else {
  
negative.code: 		}
  	}
  
  	int _classesComparator(CabinClassDetail one, CabinClassDetail two) {
  		if(one.no != two.no) {
  			return one.no - two.no;
  		} else {
  			if(one.title != two.title) {
  				return one.title.compareTo(two.title);
  			} else {
  				return one.count - two.count;
  			}
  		}
  	}
  
  	Map<String, List<AllocationListItem>> _groupAllocations(List<AllocationListItem> items) =>
  		groupBy(items, (i) => i.cabinId);
  }
  