Indomitus 388 Posted January 6, 2019 I want to build a routine to Alphanumeric sort a list of names/items. The existing comparison operator will not accept anything that is not numeric. Could we please get an operator that can compare string objects? Share this post Link to post Share on other sites
0 Igor Q. 519 Posted January 6, 2019 Would be helpful if implemented, but if you need it *now* you could assign each name as an array with each index for each character having a numeric value, A being 1, D being 4 and so on. Then sorting each array based on the value at each index point. Share this post Link to post Share on other sites
0 Indomitus 388 Posted January 7, 2019 (edited) I know. I'm trying to avoid excess code, since VS can get unstable if there's too much. Some things are far more efficient if we have a command to let the core of the game handle it, rather than interpreted script. Trying to nudge VS a little more in that direction. edit: I'm not saying VS is bad. I've seen a lot of scripting systems over the years, and they all have a point where the interpreter gets overwhelmed. Edited January 7, 2019 by Indomitus Share this post Link to post Share on other sites
I want to build a routine to Alphanumeric sort a list of names/items. The existing comparison operator will not accept anything that is not numeric. Could we please get an operator that can compare string objects?
Share this post
Link to post
Share on other sites