Sorted TemplateHaskell language extension.
Merge branch 'maint-2.4.0'