in reply to Re: Sort mechanics problems ...
in thread Sort mechanics problems with objects and potentially contradicting comparisons (would cause infinite loop)
this lets $a and $b remain unsorted relative to each other where there is no dependency.if $a is dependent on $b, return -1 if the reverse, return 1 otherwise return 0
One world, one people
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sort mechanics problems ...
by Anonymous Monk on Jun 02, 2016 at 17:12 UTC |