question

Shinya O avatar image
0 Likes"
Shinya O asked Shinya O edited

Array.sort() Error

Hi,

I would like to sort the data in a Map class by key, so I converted the Map to an Array and use the sort() method of Array, but it hangs in 2024 but ran without any problems in 2025. What is the difference in this behavior?

For each model, when you run the script after fast forwarding, it will hang in 24.0.9 version, but there will be no problem in 25.0.6 version.

https://answers.flexsim.com/articles/164649/heatmap-anything.html

heatmapAnythingTest24.0.9.fsm

heatmapAnythingTest25.0.6.fsm

Thanks in advance.

FlexSim 24.0.9
arraysortfreezehang-up
5 |100000

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

0 Answers