You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: gen_property_activitystreams_preferredUsername.go
    path of file: ./repos/gotosocial/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preferredusername
    
    the code of the file until where you have to start completion: // Code generated by astool. DO NOT EDIT.

package propertypreferredusername

import (
	"fmt"
	langstring "github.com/superseriousbusiness/activity/streams/values/langString"
	string1 "github.com/superseriousbusiness/activity
    
func (this ActivityStreamsPreferredUsernameProperty) LessThan(o vocab.ActivityStreamsPreferredUsernameProperty) bool {
	idx1 := this.KindIndex()
	idx2 := o.KindIndex()
	if idx1 < idx2 {
		return true
	} else if idx1 > idx2 {
		return false
	} else if this.IsXMLSchemaString() {
		return string1.LessString(this.GetXMLSchemaString(), o.GetXMLSchemaString())
	} else if this.IsRDFLangString() {
		return langstring.LessLangString(this.GetRDFLangString(), o.GetRDFLangString())
	} else if this.IsIRI() {
		return this.iri.String() < o.GetIRI().String()
	}
	return false
}