Improve need_python_sorting function
Bump version number to 0.3