Added setting of sort path to either label of relative path so we can use it. refs 4298