added script to sort sites by references