In your case the 2018 2.3 ghz is the one to get. Both models are the same processor generation, but the 2018 2.3 ghz has four thunderbolt ports, slightly better speakers, and faster SSD read & write speeds.
The 2019 1.4 ghz may have slightly better battery life.
Both models are virtually identical otherwise.