kohana/database — pull request #55 by misterx (2013-09-23 09:02:27+00:00)
Title: Incorrect usage of UNION and ORDER BY without parenthesis

When use ORDER BY with UNION, give error Incorrect usage of UNION and ORDER BY. http://stackoverflow.com/a/6732697