Sort:  

Not sure how the first group was selected, I recall reading it somewhere, but I have no idea where.
The whitepaper has details on this.

You might find this interesting, I just found it and it is very well done.

https://steemit.com/stats/@eroche/steem-get-to-know-the-witnesses-part-1