src/stringifiers/dispatcher.js
function stringifyOuterOrder(orders, q) {
  const conditions = []
  for (let condition of orders) {
    for (let column in condition.columns) {
      const direction = condition.columns[column]
      conditions.push(`${q(condition.table)}.${q(column)} ${direction}`)
    }
  }
  return conditions.join(', ')
}
function stringifyOuterOrder(orders, q) {
  const conditions = []
  for (let condition of orders) {
    for (let column in condition.columns) {
      const direction = condition.columns[column]
      conditions.push(`${q(condition.table)}.${q(column)} ${direction}`)
    }
  }
  return conditions.join(', ')
}
we need one ORDER BY clause on at the very end to make sure everything comes back in the correct order ordering inner(sub) queries DOES NOT guarantee the order of those results in the outer query