protected void sortIntoMap() {
		outputMap = new TreeMap<Object, ArrayList<CalendarEvent>>();
		int conflictNum = 1;
		
		for (int i = 0; i < outputList.size(); i++) {
			for (int j = 0; j < outputList.size(); j++) {
				if (j > i) {
					CalendarEvent event1 = outputList.get(i);
					long start1 = event1.getmyStartTime().getMillis();
					long end1 = event1.getmyEndTime().getMillis();
					
					CalendarEvent event2 = outputList.get(j);
					long start2 = event2.getmyStartTime().getMillis();
					long end2 = event2.getmyEndTime().getMillis();
					
					if ((start2 >= start1 && start2 <= end1) || (end2 >= start1 && end2 <= end1)) {
						ArrayList<CalendarEvent> pair = new ArrayList<CalendarEvent>();
						pair.add(event1);
						pair.add(event2);
						outputMap.put("Conflict #" + conflictNum, pair);
					}
				}
			}
		}
	}