use the same type as in the sorted view