src/My Reference Project.cpp
void printAndSortList (view::StringListViewRef listViewRef) {
	model::StringListRef  	listRef = listViewRef->getStringList();

	listViewRef->printNames ("List loaded from file");
	cout << "Sorting the list\n";
	listRef->sort ();
	listViewRef->printNames ("List loaded from file");
}
/*
 * Prints the contents of the list to stdout, sorts it and prints again
 */
Prints the contents of the list to stdout, sorts it and prints again
Prints the contents of the list to stdout sorts it and prints again
void printAndSortList (view::StringListViewRef listViewRef) {
	model::StringListRef  	listRef = listViewRef->getStringList();
	listViewRef->printNames ("List loaded from file");
	cout << "Sorting the list\n";
	listRef->sort ();
	listViewRef->printNames ("List loaded from file");
}
void printAndSortList ( view :: StringListViewRef listViewRef ) { model :: StringListRef listRef = listViewRef -> getStringList ( ) ; listViewRef -> printNames ( " " ) ; cout << " \n " ; listRef -> sort ( ) ; listViewRef -> printNames ( " " ) ; }
Prints the contents of the list to stdout, sorts it and prints again
Prints the contents of the list to stdout sorts it and prints again