first pass worked
still need to add function overloading for sortFun.cpp