Sora should've did the right thing and fight Org. XIII, defeat them, and then lock them up. As a true hero, you must not automatically assume the role as executioner. Unless a government official or ruler gives the order to kill, you must obey the hero code. Now if Mickey told him to kill them, he would have the right to do so because a ruling official gave him the order to stop the Org. XIII because the ruler obviously sees them as terrorists. But Sora is going off the orders of a wizard with no high ranking power. Which means Sora is more like Electra than Batman. He's more hired assasin than hero.