Python: Sort the numbers by the sum of their digits - w3resource

Python: Sort the numbers by the sum of their digits - w3resource