removing duplicate code; sorting urls in redirects report