@property<EOL><INDENT>def categories(self):<DEDENT>
r = [ch for ch in self._channels.values() if isinstance(ch, CategoryChannel)]<EOL>r.sort(key=lambda c: (c.position, c.id))<EOL>return r<EOL>
List[:class:`CategoryChannel`]: A list of categories that belongs to this guild.

        This is sorted by the position and are in UI order from top to bottom.