cleanup, name change of compareFlow to logicBoolFlow
Eq and Ord instances added, with corresponding functions