expose sorter correctly