add python in simple sorting