First working version of CREATE AGGREGATE support for ordered set functions