Add non destructive sorting method for require annotation linting.