use type-specific names for sort support funcs