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

one use

	github.com/gotd/td/tg (current package)
		tl_input_media_slices_gen.go#L741: func (s InputMediaDocumentArray) Sort(less func(a, b InputMediaDocument) bool) InputMediaDocumentArray {