get_misstags(): sort results by dir and then by file

It prevents the situation when files from directory headers were
shown multiple times, each time with other files. Now it's much
easier to read it in "Missing revision numbers" tool.