Runtime errors will occur:“ Argument (package yail-list-sort, Unknown, version 0.0) to 'apply-to-args' has wrong type (java.lang.Package) (expected: procedure)”
the example given in the document also run not correctly.
in my simplest tests, such as the following blocks, do not work properly.
In the past, when my program went wrong, I tend to think it was my fault. Now this makes me crazy.
Who has the same experience as me? Or someone can tell me ,what did I missed
I use a real phone device ,android 11.
**In fact, list [10 11 13] is just one test. I have a list like [['string',number], ['string',number],['string',number],,,,,,,] **
**which has may be about 1000 items to sort.
now i have to write a function to sort list by myself.
but an other problem happened .
java.lang.StackOverflowError: stack size 8192KB
Even I test a 3items list .
I'm so disapointed.
Perhaps use this algorithm by Sajal to sort your List if you have to because you cannot use the new List tools: * List Sorting On App Inventor
Before you give up on the new List tools, follow Taifun's advice. It will help us understand the problem and possibly provide a solution. Better yet, provide a sample aia?
you are right , while exchange the 2 items in the list , a list was given to replace a item ,
so the list get’s
biger and biger。
finally ,It works 。
thankyou