sort-list.cpp WIP