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

one use

	github.com/gotd/td/tg (current package)
		tl_update_slices_gen.go#L1522: func (s UpdateNewMessageArray) SortStable(less func(a, b UpdateNewMessage) bool) UpdateNewMessageArray {