when i use sort it is showing none in python solution code example
Example: sort array not in place python
# sorting lists in python
l = [2, 3, 1, 4]
new_l = sorted(l) # returns sorted list without modifying original
l.sort() # sorts list inplace