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

one use

	github.com/gotd/td/tg (current package)
		tl_photo_size_slices_gen.go#L338: func (s PhotoSizeArray) Sort(less func(a, b PhotoSize) bool) PhotoSizeArray {