When flown with flags of states, communities or societies on separate flag poles which are of the same height and in a straight line, the flag of the United States is always placed in the position of honor—to its own right.
https://us-flag.net/code/