I try to sort list [12, 22, 32, 3] cur_list.sort() and get result: ['12', '22', '3', '32'] but correct sorting has be ['12', '22', '32', '3'] I don't understand such sorting.