github.com/gotd/td/tg.MessagesSponsoredMessagesArray.SortStable (method)

one use

	github.com/gotd/td/tg (current package)
		tl_messages_sponsored_messages_slices_gen.go#L199: func (s MessagesSponsoredMessagesArray) SortStable(less func(a, b MessagesSponsoredMessages) bool) MessagesSponsoredMessagesArray {