[YoutubeIE] Add width and height to format dict
[YoutubeIE] Sort formats by resolution
Filter and sort videos before calling list_formats
Make prefer_free_formats sorting more robust