[FREE] ListUtilz Extension - A Powerful Lists Management Extension

I have a list with several elements.
For example, if an element has "apple" in the text, then the element should be added to the category "fruit". This allows you to have several categories in a list viewer.
Like a shopping list that is sorted by categories such as "vegetables", "meat", "fruit" and so on

If I understood you correctly, you have a list of elements (apple, broccoli, chicken, orange, beetroot, carrot) and another list of their categories (fruit, vege, meat, fruit, vege, vege)

No w you want to sort them as per category, by fruit then result will be (apple, orange); by vege (broccoli, beetroot, carrot)

Like this?

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

I have added Sort by Category function to do this.

1 Like

I can not find GetListCombinations and GetListPermuataions in the extension.

I removed them in recent updates.

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 ?