As long as things are consistent.

`foo.bar` under the `[foo]` section
`bar` under the `[php]` section etc.

Yes, alphabetical in each section makes sense (though, so does alphabetical sections :P)