sorting source works with test problems, but need to dump data to check