public void listIt(int field, int order) {
		OrderedIndex indexToPrint = null;

		// Determine which OrderedIndex to list
		switch (field) {
		case 1:
			indexToPrint = firstNameIndex;
			break;
		case 2:
			indexToPrint = lastNameIndex;
			break;
		case 3:
			indexToPrint = IDIndex;
			break;
		default:
			System.err.println("Invalid field input for listIt");
			break;
		}

		// Determine which order to list it in, if at all
		if (indexToPrint.getNumberOfRecords() == 0) {
			System.out.println("Database is empty.\n");
		} else if (order == 1) {
			// Code for increasing order
			for (int i = 0; i < indexToPrint.getNumberOfRecords(); i++) {
				System.out.println(database[indexToPrint.getIndexRecord(i)
						.getDatabaseIndex()].toString());
			}
			System.out.println();
		} else if (order == 2) {
			// Code for decreasing order
			for (int i = indexToPrint.getNumberOfRecords() - 1; i >= 0; i--) {
				System.out.println(database[indexToPrint.getIndexRecord(i)
						.getDatabaseIndex()].toString());
			}
			System.out.println();
		} else
			System.err.println("Invalid order input for listIt");
	}