It seems that order='date'
parameter of YouTube Data API (v3) search endpoint does not work as expected since last week. I can't get the videos sorted in reverse chronological order. I've just tested it in APIs Explorer, the returned results are not either sorted by date. Below is my code in Python:
import requests
requests.get('https://www.googleapis.com/youtube/v3/search',
params={
'key': YOUTUBE_API_KEY,
'part': 'snippet',
'type': 'video',
'order': 'date',
'channelId': 'UCCCPCZNChQdGa9EkATeye4g',
})