Revert "only sort roots when needed"

This reverts commit 59e4fd8b088610adf4a3ae4a6fed266e738cd9d6.
sort roots_trivial in same order as RootOf instances
simplify sorting of roots in _roots_trivial
Merge pull request #4 from smichr/8237

simpler fix