Add some sorting to the output of `wp role list` and `wp cap list`

As per the title. Let's sort the roles and caps lists when they're output so they show up alphabetically.