Completed support for order by and group by functionality with H2.