31.07.2017, 16:24
Show where you assign/sort the positions (Code)
And I would recommend a 500 ms timer, even just a 1s timers for this purpose - running only when a derby is active.
I would suggest taking a look at the following subject:
https://en.wikipedia.org/wiki/Insertion_sort
This method works perfectly. If you're working with many many items to sort, take a look at some alternatives here: https://en.wikipedia.org/wiki/Sortin...ing_algorithms
And I would recommend a 500 ms timer, even just a 1s timers for this purpose - running only when a derby is active.
I would suggest taking a look at the following subject:
https://en.wikipedia.org/wiki/Insertion_sort
This method works perfectly. If you're working with many many items to sort, take a look at some alternatives here: https://en.wikipedia.org/wiki/Sortin...ing_algorithms