How to add primary category for Job Category?

Hi, at the moment the Job Category lists down all the categories.

However, I'd like the job categories to be tiered, meaning the user will choose the primary category, which will then determine the secondary categories shown in the dropdown. Is there any way I can do so? Thanks in advance!