Fix some typos in iql.js
Allow sorting by multiple columns and fix some sorting bugs