Important. this isssue does NOT exist on sqlite as it accepts duplicate column names in the ORDER_BY sql query but SQL server does not and probably mysql or Mariadb will have this issue When sorting ...