github.com/gotd/td/tg.DialogPeerArray.Sort (method)

one use

	github.com/gotd/td/tg (current package)
		tl_dialog_peer_slices_gen.go#L149: func (s DialogPeerArray) Sort(less func(a, b DialogPeer) bool) DialogPeerArray {