I have a programming issue with sorting an array.
September 20, 2005 11:17 PM Subscribe
I have a programming issue with sorting an array.
Yeah, everything I'm trying just isn't working at the moment. I need to generate some ideas to get some lateral thoughts running through my head. Here's my question:
What's the best way to reorder (sort) an array while making sure that elements of equal value stay in the same position? I'm thinking in terms of a top scores list that should keep the earliest score above all others on the list which score the same (e.g. they both score 120 or another equal value). I have code and will post it if anyone thinks they can help. Also, I'm programming in Macromedia Flash and would call myself an intermediate user.
posted by sjvilla79 to computers & internet (10 answers total)
posted by aneel at 11:25 PM on September 20, 2005