Added exception handling to comparison sorting