Reorder documentation, elaborate on selectors.

- Reordered the file so that JOINS are explained before
  selectors so readers will understand the last selector example.
- Elaborated on some selector usages.