question

Devdatta D avatar image
0 Likes"
Devdatta D asked Joerg Vogel answered

Sort Array

How to sort an array using code/process flow?

FlexSim 22.1.1
array
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Here's a link to a previous answer which has the items for picking arranged by aisle and bay.

You could push and pull the items from a list as I think I did in that example.

Alternatively you could put all the items in a table on token and sort by aisle and bay - functionality you get by not using arrays.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You can query an array and ORDER it BY clauses of a SQL.

https://answers.flexsim.com/answers/52265/view.html

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.