If a court grants an 'order for division and sale', the court sells the property. After the selling fees and legal fees have been deducted, the court will decide how the remaining proceeds of the sale should be divided. This decision is based upon representations from yourself and your former friend. (Even though you, presumably, jointly own the house with your ex-friend, she could reasonably expect to receive rather more than half of the net proceeds if she's contributed a greater part of the mortgage payments).
Chris