This is a preliminary implementation.
I pushed for you to see what I was aiming at (choose and sort repos).