sort methods implemented (smoke tests pass)