Added support for sorting with domains and companies also (repos already supported).