code: func (r *Record) LessByCoordinate(other *Record) bool {
  	rRefName := r.Ref.Name()
  	oRefName := other.Ref.Name()
  	switch {
  	case oRefName == "*":
  		return true
  	case rRefName == "*":
  		return false
  	}
  	return (rRefName < oRefName) || (rRefName == oRefName && r.Pos < other.Pos)
  }
docs: // LessByCoordinate returns true if the receiver sorts by coordinate before other
  // according to the SAM specification.