docs: reorder posix.c and break into groups of named functions.

* build-aux/config.ld.in (sort): Alphabetize documentation within
sections.
* ext/posix/posix.c: Add section blocks for related functions and
move declarations into appropriate sections.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>