making tests more resilient

ensuring subtitles are sorted before being passed to
embed_mkv, since the order may change when running in multiple
threads.