Docs: Fix sorting of rules within each section