In meantime, I have done small update, please download this version: https://matasoft.hr/pl_ZMSQL_v7.6.2.7z
Additionaly, it fails also if in the SQL.Text property of an TSQLQuery there was an "order by" expression defined in design time.
If I was not clear enough, I am talking about RxDBGrid's rdgAllowSortForm option.
RxDBGrid, sorting, Postgresql mixed-case fieldnames should be enclosed with double quotes