trail: don't generate a costly dependency when forcing sort order