fixed borked Ord instance for Key. test suite passes