14th September 2023: PostgreSQL 16 Released!

Feature Description

ORDER BY support within aggregates

allows controlling the order of values fed into an aggregate function