Fix potential NPE when sorting audio tracks and subtitles