Update CRUD.SqliteAdapter.js

fix for #131. Correct bugs in the buildOrderBy function.