Url sort fix