implement comparable for wrappers