mv sort_functs.cpp to test