The courts are not inclined to order the sale of matrimonial home, if it interferes with the best interests of the children. It is important that the parties turn their heads to the best interests of the children at the time of separation. Please find below a link for a Superior Court decision dealing with the issue of sale of matrimonial home:
http://www.canlii.org/en/on/onsc/doc/2016/2016onsc849/2016onsc849.html