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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.