VastAI offers are not sorted by price because the cheapest instances are unreliable.
However, the default sorting offers large instances (many GPU) before smaller ones.
The proposed fix is to stable-sort by price, keeping the original order within offers with the same GPU count