CMS-4145 Versions not ordered by timestamp desc for "active versions"

Changed to use ordered Set. Works.