code: func (t TasksByTimestamp) Less(i, j int) bool {
  	iTimestamp := taskTimestamp(t[i])
  	jTimestamp := taskTimestamp(t[j])
  
  	if iTimestamp == nil {
  		return true
  	}
  	if jTimestamp == nil {
  		return false
  	}
  	if iTimestamp.Seconds < jTimestamp.Seconds {
  		return true
  	}
  	if iTimestamp.Seconds > jTimestamp.Seconds {
  		return false
  	}
  	return iTimestamp.Nanos < jTimestamp.Nanos
  }
docs: // Less implements the Less method for sorting.