Fix JoinKey sort order and allow comparison with other types.
Merge pull request #72 from jkleint/master

Fix JoinKey sort order and allow comparison with other types.