Raw data group and pivot

No, no it is not… it is related to how PostgreSQL works… and a query for their forum.

But if you want a Blynk method, there is a relatively new reporting widget in Blynk that might allow your sorting.