Updated Step3 to properly sort downloads, JSON output