When partition can be conveniently made of part of the premises, but not of all, one portion may be partitioned and the other sold as hereinafter provided.