--twofactor
Authored by: Ferdi265 Closes #6424
_sort_formats
Based on https://github.com/ytdl-org/youtube-dl/pull/26778 Authored by: Ferdi265, pukkandan