Swap parameters of greaterThan and lessEqual

Partially applied you would expect greaterThan(4)(10) to be true.
Add filter function
Enable history for hsci
Add flip