Reimplemented TraitsInConstructOrder()
Added missing trait dependency
Merge pull request #6710 from huwpascoe/depends

Fixes #3160
Fixes #3568
Fixes #4894
Closes #6701