def _process_streams(self):
    streams = ([InternUdemyLectureStream(z, self) for z in self._info['sources']] if (self._sources_count > 0) else [])
    self._streams = sorted(streams, key=(lambda k: k.quality))
    self._streams = sorted(self._streams, key=(lambda k: k.mediatype))
def _process_streams(self):
    streams = ([InternUdemyLectureStream(z, self) for z in self._info['sources']] if (self._sources_count > 0) else [])
    self._streams = sorted(streams, key=(lambda k: k.quality))
    self._streams = sorted(self._streams, key=(lambda k: k.mediatype))