code: func (a WorkItemPtrSlice) Less(i, j int) bool {
  	title1, foundTitle1 := a[i].Attributes[workitem.SystemTitle]
  	title2, foundTitle2 := a[j].Attributes[workitem.SystemTitle]
  	if foundTitle1 && foundTitle2 {
  		t1, cast1Ok := title1.(string)
  		t2, cast2Ok := title2.(string)
  		if cast1Ok && cast2Ok {
  			return t1 < t2
  		}
  	}
  	return a[i].ID.String() < a[j].ID.String()
  }
docs: // Less reports whether the element with
  // index i should sort before the element with index j.