NXCALS-2101 Apply query field sorting by qualified field name
#Merge request template @acc-logging-team - please have a look for approval.
Always apply "field to column expression" elements sorting, based on qualified field name. This is needed to stay consistent in cases when no dataframe exists and we have to generate an empty one. The generated (empty) dataframe should have it's column expressions sorted exactly as the query fields, in order to successfully construct a union with another dataframe.
Closes NXCALS-2101
Edited by Grigorios Avgitidis