Create loader.py

Used to sort data (compare to shift.py)