Selectable List

Is there a way to create a selectable list? I have created a list of labels, but they are not selectable. I’d like the ability to also trigger code when a label is selected. Possible? Also, is there a way to also drag and drop these list items to arrange them in a different order?

For example, I have a sphere, cone, and cube in the scene. I want a list of those objects in a panel. But I want to be able to select the word sphere in the list and have the sphere be active in the scene. I’d also like to be able to move the sphere in the list to a different position in the list if needed.