Marco
(Marco Schult)
August 17, 2020, 5:01pm
#1
Hey there I just wanna know if it is possible to sort more than just 1 list with the same order.
for examle I have list 1: [1,4,3,2,5] and list 2: [a,b,c,d,e] and I want to sort BOTH lists but “with” the first list. So that I get this as the result: list 1: [1,2,3,4,5] and list 2: [a,d,c,b,e] ??
Thank you
themaayur
(Mayur Berad)
August 17, 2020, 5:37pm
#2
Try this extension.
[ListAddon] ListAddon Extension
This extension allows for doing more things with App Inventor Lists. I made this extension with Kodular IDE.
Current version: 1
Release date: 2019-04-21T21:00:00Z (UTC)
Required permissions: none
Min API required: N/A
I decided the build this extension because I saw we can actually do more things with YailList (a Java object which used in App Inventor for lists.) So I created additional blocks for the built-in list blocks.
Blocks
[image]
…
Use bubble sort, I have not tried but by seeing the example, I recommend it
1 Like
dora_paz
(Dora)
August 17, 2020, 5:55pm
#3
Maybe something like this ?
5 Likes
Marco
(Marco Schult)
August 17, 2020, 6:28pm
#4
Yea thank you that is it!!
1 Like
system
(system)
Closed
September 16, 2020, 6:33pm
#5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.