Use this block to sort a given list alphabetically. It also considers integers and sort in natural sorting order.
Use this block to sort given list of integers in increasing order. No matter the list item is a single digit or multiple digit. It also supports negative values.
GetOccurrences block will return the count of item in a list (how many times it is in the list) and index block will return the indices of these items.
Returns a new list containing the intersection of given lists (a new list containing the common elements present in all input lists). Accepts multiple lists.
Returns a slice (part) of the given list from the start index (inclusive) to the end index (exclusive).
RemoveItems from start index to end index and return filtered list.
CHANGE LOG
Added a new block FilterListAsync to filter list asynchronously and return filtered list as well as their indices.
Added function to Sort list A to Z async and returns sorted list along with sorted indices.
Thanks for the extension, but most of these blocks do the same thing as the built-in blocks in ai2...a few of your blocks do pretty much the same thing, so it makes no sense to double them, like getList1toN and getlistSlice.
Only few blocks do the same thing as of inbuilt blocks. But most of the functions are added to make the work easier, I have added them to make this extension more useful and may someone gets it useful specially new users.
I'm sorry, I hate to break it to you, but almost every single block in this extension can be replicated with built-in blocks. Here is my approach in some of the blocks, there are still more that I haven't tried but can be replicated. Still, nice effort. (gave a like)
I agree, most of the things can be done without extension, but the only difference is extension makes it easier in few blocks as inbuilt blocks need some complicated logic and for pro Koders like us don't need extension.
Anyone who find this useful can use.
I can see your efforts in above blocks!
If any single block from my extension finds useful for anyone, that's enough for me. At least it makes me feel I have not wasted my time.