Update sorting.py

Added swap and make list functions