A bankruptcy court has approved the sale of the majority the real estate properties owned by Yellow.