Reverse the endpoint registration examples

While I was following through the docs from the top down the simplest example of registering your own endpoints was below the first example.

To me it would make more sense to reverse the order and have the simplest example first then follow it with the more robust example that uses custom routes.