Use sets rather than lists for collections of undefined order