Adds sort functionality to Downloads block.