[lang-ref] ( sort_in_place ) ( python )

def test_sort_in_place():
    # sort
    items    = ['B', 'A', 'C', 'E', 'D']
    expected = ['A', 'B', 'C', 'D', 'E']

    items.sort()

    assert items == expected