Write a function @sum_of_digits_sorted(f)@ that provided a list of non negative integers returns a list with the very same numbers in . Numbers in must appear in increasing sum of digits. For instance, if and are numbers in , number will appear before in because the sum of digits of (sum is 7) is less the sum of digits of (sum is 11). Numbers of the same sum of digits must appear in the usual increasing order.
>>> sum_of_digits_sorted([56, 2131]) [2131, 56] >>> sum_of_digits_sorted([313, 44, 36, 11111, 35, 26, 7]) [11111, 7, 313, 26, 35, 44, 36] >>> sum_of_digits_sorted([9, 53, 511, 4000, 10001, 45]) [10001, 4000, 511, 53, 9, 45]