There is no doubt that the strong knight should take care of the strong dragon.
So we can sort the knights by their ability increasingly. As for dragon, ditto. From the first knight to the last one, if the knight can kill the current dragon (from the first to the last too), it does. Otherwise, let the next knight try.