HF RL Explorer

SQL formatting is broken with recent changes

SQL formatting is broken with recent changes: a task in UltraTerminal (Harbor dataset). Describe the bug The SQL formatting functionality is broken after recent changes. The indentation is completely wrong in many SQL statements, especially with GROUP BY, ORDER BY, and nested queries.

The task

**Describe the bug** The SQL formatting functionality is broken after recent changes. The indentation is completely wrong in many SQL statements, especially with GROUP BY, ORDER BY, and nested queries.

Part of harness-hub/UltraTerminal.