sorter.c