Added python version of download sorter