How could one write a function to move an org subtree to the top or
bottom of its parent?

I thought of repeating `org-move-subtree-up/down` until it reaches an
extreme, but unfortunately it doesn't return any indication of whether
it succeeded in moving anything.