ableton midi clip sorting

vojko v's icon

hi

is there a max for live device that can automatically sort ableton midi clips from something like this:

to something like this(to sort it from bottom note to top, but to keep the correct note positioning and length):

i can do it manually myself, yes, but i have a project that will demand a lot of sorting like this, so i'm trying to spare some time.