def main_collections(self, lang=None):
return sorted([<EOL>{<EOL>"<STR_LIT:id>": member.id,<EOL>"<STR_LIT:label>": str(member.get_label(lang=lang)),<EOL>"<STR_LIT>": str(member.model),<EOL>"<STR_LIT:type>": str(member.type),<EOL>"<STR_LIT:size>": member.size<EOL>}<EOL>for member in self.resolver.getMetadata().members<EOL>], key=itemgetter("<STR_LIT:label>"))<EOL>
Retrieve main parent collections of a repository

        :param lang: Language to retrieve information in
        :return: Sorted collections representations