Jump to content

Sort Array Bug


Recommended Posts

Hi All,

 

Came across something that may be an issue, unless I'm misapplying it. The Sort Array function seems to shift the array contents back and forth (ascending descending) each time its sorted. Meaning one time it moves it one way, the next time its sorted it moves it the other way. I've included a couple of screen shots to illustrate what I'm talking about as the program itself was too large to attach.

 

The array is 10 bits in length, one of the interesting things is if you have less than 5 bits active, the sort function seems to sort everything one way. When you have 5 or 6 bits active it flops back and forth as mentioned above, when you have more than 6 bits active it sorts everything the opposite way. This is all regardless of what is selected for the ascending or descending option.

post-8876-0-91799400-1436365895_thumb.png

post-8876-0-50416600-1436365910_thumb.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...