Hi, Location and parent location are displayed together. I want the locations to be displayed first. When a loction is selected the parent locations of that…