fix sorters; add sorters_test