You need to move on.
The other pesons income did not need to be included, particularly if it was a loan.
Your lawyer dropped the ball and if you were going to appeal, it should have been done promptly.
This is two years later. You aren't getting the money back.
Quite honestly, it doesn't matter what you feel the judge should have done (I feel the judge should have considered all incomes).
Sheriffs are not attorneys and his/her opinion is not only wrong, its irrelevant.