summaryrefslogtreecommitdiff
path: root/progs/a400.py
blob: 164e63533c6cad50b9ac8725f5bbc6a539ff534f (plain)
1
2
3
4
def sort_mixed_list(mixed_list):
    int_part = sorted([i for i in mixed_list if type(i) is int])
    str_part = sorted([i for i in mixed_list if type(i) is str])
    return int_part + str_part