Project: datamanagement
Issue DM-3104: Add "ORDER BY" clause to lua SQL query on result table
If user query has "ORDER BY", then lua can't just execute "SELECT * FROM result" because the order for such query is not guaranteed. To fix that, we need to add "ORDER BY" clause to the "SELECT * FROM result" query on the lua side. Once we have the above, we might want to remove "ORDER BY" from the query class which runs a merge step on the czar (this has to be done in query analysis step).
Story points: 8