Sick of going nowhere in Dallas traffic? Here's some good news: It's not as bad as last year.

But it's still bad.

Dallas clocks in as the 10th-most congested city in the country, according to a report from INRIX, an organization that studies traffic patterns around the world.

Dallas drivers spent 54 hours in traffic last year, according to the study. That's better than the 59.4 hours wasted in 2016.

Los Angeles clocked in at No. 1 not just in the U.S., but in the entire world, as its drivers spent about 102 hours sitting in traffic. Moscow came in second in INRIX's worldwide tally.

Mexico City wasn't even listed as one of the most congested cities in North America. That's because the organization that studies traffic lumped it in with South America. (Sarah Meghan Lee)

Dallas finished one spot above Houston in the congestion rankings. Austin also ran into trouble, finishing third in the state and 72nd in the world.

American cities dominated the rankings for North America. You have to scroll down 12 spaces to find Montreal on the list. Before that, you'll find Los Angeles, New York City, San Francisco, Atlanta, Miami, Washington, D.C., Boston, Chicago, Seattle, Dallas and Houston.

One puzzling conclusion: Mexico City appears nowhere near the list of worst cities in North America for traffic, even though it finishes 21st in the world.

INRIX groups Mexico City in with South America. On that chart, it comes in fourth out of 193 cities.

There's a simple reason for that:

"It's an error," Graham Cookson, INRIX chief economist and head of research, said in an email.

By Wednesday, the mistake had been corrected.