Corrected a test case with sort()
it compared None and None (now using sorted() functional version)