3 ms·
This is difficult when you have 3 things that all tie for #1, and since they need to be sorted into #1 through #3, that sorting isn't stable sorting, so each ti
by sdegutis 10y ago
This is difficult when you have 3 things that all tie for #1, and since they need to be sorted into #1 through #3, that sorting isn't stable sorting, so each time you mentally sort it, they might end up in another order. So #1 changes all the time.
- bbcbasic 10y agoIf they tie just make an arbitrary decision. E.g. pick the least fun one. Or more analysis on which should win if that is appropriate.