Create a Python program to sort a list of numbers by their absolute value (e.g. sort [2,-5, -1, 3] in ascending order).
[2,-5, -1, 3]
def abs_sort(arr):
    return sorted(arr, key=abs)

abs_sort([2,-5, -1, 3])