change sort downloads
change combine SQL into one statement