Add file lsort.py and test_lsort.py