public void instanstiateAllClasses() {
		if (classes.size() == 0) {
			if (debug) {
				System.out.println("You have to call loadAllClasses() first!");
			}
			return;
		}
		for (Class<BaseSorter> c : classes) {
			try {
				sorters.add((BaseSorter) c.newInstance());
			} catch (InstantiationException e) {
				e.printStackTrace();
			} catch (IllegalAccessException e) {
				e.printStackTrace();
			}
		}
	}