TupleComparator fixed

The TupleComparator now:
- actually uses the key positions passed
- can skip positions
- supports any ordering ( you can compare on the second, and afterward on the first field )