Fix sort by URL.