Add ordering.js micro lib

Add a javascript sorting helper.