update c call hierarchy sorting to handle results w/ no resource ref

refs #257