Allow task result reference instead of URI in resolve tasks
Sort Index entries; add warning when resolution target is not a name