Ordering categories using SQL

Unless there are dozens of categories, it’s just not a big deal. And if they sent you here rather than looking in the settings themselves or asking here themselves, they just don’t want to do it.