Collapse path back and sort context menu in headers