Sorting Done!

Fixed bug with url_counter, fixed bug with sorting.