cp ./app/design/frontend/base/default/template/catalog/product/list.phtml ./app/design/frontend/default/default/template/catalog/product/list.phtml<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/sortby/list.phtml.diff";echo "$URL";
echo "<div><pre>";
</pre></div>$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);echo htmlspecialchars(curl_exec($c));curl_close($c);
echo "";
/*
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/sortby/sortby_newest.sql.txt";
echo "$URL";
echo "<div><pre>";
</pre></div>$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);echo htmlspecialchars(curl_exec($c));curl_close($c);
echo "";*/
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/sortby/toolbar.phtml.diff";
echo "$URL";
echo "<div><pre>";
</pre></div>$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);echo htmlspecialchars(curl_exec($c));curl_close($c);
echo "";?>
OPTIONAL: change sort by for a attribute
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/sortby/Toolbar.php.diff";
echo "$URL";
echo "<div><pre>";
</pre></div>$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);echo htmlspecialchars(curl_exec($c));curl_close($c);