Fixed improper init/sort of p1, p2, p3 in fracture.cl.

Fixed:
* p1, p2, p3 not always initialized.
* the case of true, false, true is not correctly sorted.