Get sort order of product categories

Answering for posterity, since I ran into the same issue and this thread is the closest thing I found to what I was looking for.

The solution turned out to be quite simple.

If you don’t specify ‘orderby’ in your arguments, the default sort order will be used (the category order in the Woo admin). Just remove that part of your arguments.