You must be booking first class? Or at peak times?
It’s £150ish open return from Dundee to London via Edinburgh IIRC for standard class off peak.
Pretty much same price as Dundee to Edinburgh train > plane to stanstead > train into liverpool street.
Also takes about the same time..