• Sort Array by Element Frequency check error

 

I would like to give some feedback about server check.

In code "asserts" i see assert list(frequency_sort([4, 6, 2, 2, 6, 4, 4, 4])) == [4, 4, 4, 4, 6, 6, 2, 2]

When I "check" results that I see: "Your result:[4,4,4,4,6,6,2,2,2]" "Right result:[4,4,4,4,2,2,2,6,6]" "Fail:frequency_sort([4,6,2,2,2,6,4,4,4])"

Tests inputs is equals, but expectations results on server check is wrong

From: https://py.checkio.org/mission/sort-array-by-element-frequency/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36