private static List<Employee> filterEmployeesDesigOnCondition(
			String designation, int condition, List<Employee> employeesList) {

		List<String> employeeLevelList = getEmployeeDesigLevel();
		List<Employee> modifiedEmployeesList = new ArrayList<Employee>();
		int index = 0;

		switch (condition) {
		case 1:

			index = employeeLevelList.indexOf(designation);

			for (Iterator<Employee> iterator = employeesList.iterator(); iterator
					.hasNext();) {
				Employee employee = (Employee) iterator.next();

				for (int i = index; i < employeeLevelList.size(); i++) {
					if (employee.designation.equals(employeeLevelList.get(i))) {

						modifiedEmployeesList.add(employee);
					}
				}
			}
			break;

		case 2:

			index = employeeLevelList.indexOf(designation);

			for (Iterator<Employee> iterator = employeesList.iterator(); iterator
					.hasNext();) {
				Employee employee = (Employee) iterator.next();

				for (int i = 0; i <= index; i++) {
					if (employee.designation.equals(employeeLevelList.get(i))) {

						modifiedEmployeesList.add(employee);
					}
				}
			}

			break;
		default:
			break;
		}

		return modifiedEmployeesList;
	}