As pointed on https://github.com/grumpyhome/grumpy/issues/82#issuecomment-433899574, the sorting of lists are not respecting stability or comparison of types: ```bash $ python -c 'print sorted([1,1.0,2,2.0], reverse=True)' [2, 2.0, 1, 1.0] $ grumpy -c 'print sorted([1,1.0,2,2.0], reverse=True)' [2.0, 2, 1.0, 1] ``` The implementation should be checked.
Activity
funny-falcon commentedon Oct 29, 2018
Problem is in current
reverseoption implementation. It should not be implemented asreversed(sorted(l)), but as negation of comparison function.