How to create a list in ascending order

Do not worry ,just try like the above said method. I am not in system

In order simple sort to work numbers must have the same digits. See sorting if digits are not different

So create a procedure to add leading zeros and then sort list

blocks(66)

Once first list is sorted then you can sort second list according to indexes in first

1 Like

I have arranged the blocks in this way. But there is no list of any kind

Error ; For input string: “Roll No 31”

I am create project in first time
please help me.

Give it if it has AIA file. or block screensort

Post your aia here or pm your aia

If I arrange the blocks this way, I get a list like this.
If I change its block, I don’t get any result.
eee

I want a list like this
So help me.
bbb

As I said …

Use one join block and use three variable place, first place use get tag second place give plenty of spaces if you need or hyphen and in this place use get value …

But this will not give you the value in ascending list. But it can be possible just by doing trick as said by dora in her reply also plenty of alternativa wats is there to derive ascending order

list.aia (3.0 KB)

my firebase database
fff

I want a list like this
ggg

See below picture, values that are in red box can not retrieved cause are not saved correctly. Missing comma , so first correct your database in order to work

image

correct my firebase database

Try this to see how it works

lista3.aia (13.1 KB)

Yes
Works
I got the list I wanted
Thank you very Very much

I Happy :grinning: :grinning:

1 Like

Just a question will Roll No exceed 2 digits ? For example will you have a Roll No 152 or a Roll No 1035 ?

last Roll No 99

Ok then you won’t have any problem with the code. If problem solved please mark solution in order to help others with same problem.

lista3GSR.aia (11.6 KB)

If possible try this too(as i said earlier, we can try with any possibilities). Works with limited blocks(54 blocks) and faster than, I hope possible with any number of digits

1 Like

Yes
Works
I got the list I wanted
Thank you very Very much

I Happy :grinning: :grinning_face_with_smiling_eyes:

1 Like

Full credit to @dora_paz only. I am stealing knowledge from her ideas only… :pray: :pray: :pray:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.