Ordering with timestamp not working ;(

My query with REST API is below. I wonder why it is not sorting.
?order=created_at.desc is not working as expected.
created_at is a timestamp with timezone.

const res = await fetch(
    `${import.meta.env.VITE_SUPABASE_URL}/rest/v1/article?author=eq.0&select=*,author!inner(*)?order=created_at.desc`,
    {
    headers: {
        Range: '0-5',
        apikey: import.meta.env.VITE_SUPABASE_PUBLIC
    }
});
Was this page helpful?