[FREE] ListUtilz Extension - A Powerful Lists Management Extension

please restore them back.

Will add.

v5 Updated:

Extension rebuilt with FAST
Reduced aix size
Re-added GetListPermutations and GetListCombinations functions
Documentation updated

2 Likes

Can i use this extension to sort my listview by date? I think its index 5...

The new AI2 advanced list blocks can handle that.

https://ai2.appinventor.mit.edu/reference/concepts/pholo.html

how can i do that? Can you show me please?
PrepperApp(14).aia (3.0 MB)

You have 5 screens.

Which one has that button?

If it's Screen2, what date format did you use to fill item 5?

The order of the date parts (MM,DD,yyyy) has to be right in order to do a temporal date comparison.



Apply the list sort to the table on its way into and out of TinyDB or on its way into the place where you reformat it into text Elements.

If your date format is not mm/dd/yyyy, then juggle the list indexes in the dateSort value procedure to restore order.

If you used alpha month names, you have deeper problems.

thats screen2 and 3 but starts with screen2, my date is DD-MM-yyyy

You should be able to adjust the dateSort procedure to your taste.

@The_K_Studio .
as i told you before your extension is awsome ,

can you please tell me how can id do this with your list extension in easy and fast way ?

Hi! Thank you for your valuable work. Using your extension generates a false positive for Trojan:Script/Wacatac.B!ml.
Can you fix this or report it to Microsoft? Thank you.
test.aia (17.4 KB)
I created this test app.

Sorting a List. Hi! I used Copilot to create a routine to sort a list without using extensions.



sort_List.aia (3.6 KB)

Try that list sort code with numbers between 1 and 20.
Does it still work?

Did Copilot mention that the algorithm is a bubble sort?

1 Like

We have these blocks as well:

1 Like

[quote="Mr_YouTuber_Official, post:39, topic:84454"]
@The_K_Studio .
[/quote]I haven't tested the numbers, but my immediate need is to alphabetize my library's book list by removing the @The_K_Studio extension, which is currently producing a false positive from Microsoft Defender. Yes, it's a bubble sort.

Yes, I've seen these blocks but can't figure out how to make them work. I haven't found any practical examples online, so I asked Professor Copilot to explain how a programmer works and what solutions there are for my simple need to sort a list of books without an extension. This routine allowed me to understand the strategy, and I noticed an unexpected behavior in the Replace block, which doesn't swap the two elements but simply replaces the second with the first. So I'll end up with two identical elements, one after the other. So I had to store the first element in a variable that I'll write as the second element after the first swap.

See here

http://ai2.appinventor.mit.edu/reference/concepts/pholo.html#sort

Taifun

1 Like
1 Like