When goods which are sold by order of court in the manner provided have been attached by several creditors, any one of them may demand and receive satisfaction of his judgment, notwithstanding any prior attachments, if he is otherwise entitled to demand the money and a sufficient sum is left of the proceeds of the goods or of their appraised value to satisfy all prior attachments.