TMDM-7606: "Sort by time in journal web app generates wrong query"

Fix order in parameters.
(https://jira.talendforge.org/browse/TMDM-7606)