use SortDirection from issues