Fixed encoded problem when we export queries as CSV files.
Fixed a weird behaviour in the order by select.
Added ascending and descending options to the query builder order by feature.