Bubble Sort in UiPath Studio Community Edition

What exactly is your problem ? Is it about logic or displaying the result ? Any problem with message box to show the results ?

You can use custom packages >> forms, refer the below links