to your HTML
Add class="sortable" to any table you'd like to make sortable
Click on the headers to sort
Thanks to many, many people for contributions and suggestions.
Licenced as X11: http://www.kryogenix.org/code/browser/licence.html
This basically means: do what you want with it.
*/
var stIsIE = /*@cc_on!@*/false;
sorttable = {
init: function() {
// quit if this function has already been called
if (arguments.callee.done) return;
// flag this function so we don't do the same thing twice
arguments.callee.done = true;
// kill the timer
if (_timer) clearInterval(_timer);
if (!document.createElement || !document.getElementsByTagName) return;
sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/;
forEach(document.getElementsByTagName('table'), function(table) {
if (table.className.search(/\bsortable\b/) != -1) {
sorttable.makeSortable(table);
}
});
},
makeSortable: function(table) {
if (table.getElementsByTagName('thead').length == 0) {
// table doesn't have a tHead. Since it should have, create one and
// put the first table row in it.
the = document.createElement('thead');
the.appendChild(table.rows[0]);
table.insertBefore(the,table.firstChild);
}
// Safari doesn't support table.tHead, sigh
if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0];
if (table.tHead.rows.length != 1) return; // can't cope with two header rows
// Sorttable v1 put rows with a class of "sortbottom" at the bottom (as
// "total" rows, for example). This is B&R, since what you're supposed
// to do is put them in a tfoot. So, if there are sortbottom rows,
// for backwards compatibility, move them to tfoot (creating it if needed).
sortbottomrows = [];
for (var i=0; i

After playing a massive amount of catch up last month, workers at the U.S.' west coast ports would appear to have largely eliminated the backlog of Chinese goods sitting that had been floating in container ships off the U.S. coast in April 2015.

We know that's the case, because after the surge of imports that flooded into U.S. ports in March 2015, following the settlement of a labor dispute at the U.S.' west coast ports, the year-over-year growth rate of goods being exported from China to the U.S. dropped unexpectedly into negative territory.

Under normal circumstances, we would consider that to be a recessionary indication for the U.S. economy, but given the sheer volume of Chinese goods that passed through the nation's ports in March 2015, we suspect it has more to do with the backlog of goods that had built up off the U.S. west coast in the months from December 2014 through late-February 2015, where Chinese firms reduced their production and the corresponding amount of goods they were shipping to compensate.

Meanwhile, April 2015 saw the year-over-year exchange rate adjusted growth rate of U.S. goods being exported from the U.S. to China increase back into positive territory for the first time since September 2014.

As we had believed that the flow of goods from the U.S. to China was hardly affected by the U.S. west coast labor dispute, that outcome would represent a significant improvement in the state of China's economy, since it would suggest that the Chinese government's efforts to stimulate that nation's economy might finally be gaining some traction.

The news from China however suggests that's more of an anomaly. China just reported that its imports in May 2015 were much less than had been expected. And while Chinese trade statistics are not considered to be an accurate measure, they do provide an indication of the direction of the nation's economy.

A reasonable explanation then for that anomalous positive reading then would be the settlement of U.S. west coast port labor dispute. Here, after unloading all the Chinese goods whose delivery had been held up by the labor dispute, U.S. dock workers then reloaded the container ships with whatever goods had backed up in U.S. warehouses awaiting export to China.

With a typical trans-Pacific transit time of 3 weeks, most of that backlog would have reached China's ports in April 2015, which could explain why we would see such an anomalous reading in an otherwise negative outlook for the state of China's economy.

Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:

Materials on this website are published by Political Calculations to provide visitors with free information and insights regarding the incentives created by the laws and policies described. However, this website is not designed for the purpose of providing legal, medical or financial advice to individuals. Visitors should not rely upon information on this website as a substitute for personal legal, medical or financial advice. While we make every effort to provide accurate website information, laws can change and inaccuracies happen despite our best efforts. If you have an individual problem, you should seek advice from a licensed professional in your state, i.e., by a competent authority with specialized knowledge who can apply it to the particular circumstances of your case.