Tried to implement new comparable function