Maps and sets (and the sorted versions) are not indexed, so it makes no sense to call nth
on them. However, sometimes you want to pick a random element from those collections and you don't want to transform them to a vector (or something similar) which is a linear operation - mostly you don't even need the vector. I don't know if it possible on the technical side, but it would be nice to have it.