I'm not sure what it's specifically referring to here, but in general to say that someone has their priorities right/straight/in order means that they are giving the appropriate amount of attention to the different matters that they have to deal with, concentrating on the most important matters.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.