ZF-11852: Zend_Db_Select ignores ORDER BY of individual select clauses

Description

Line 1160 should read: $sql .= '('.$target.')';

Comments

Could you provide an example?

The {{ORDER BY}} within individual queries of a {{UNION}} is not universally supported (IIRC, it's only MySQL that does).

This has been identified as a "Won't Fix" issue in ZFv1. See ZF-4338