NumberFormatException caught during sort