Get the latest tags in a cloud? [closed]

The default WordPress tag cloud cannot order by latest, it only works by displaying the “most used”, it does not accept any parameters to alter the query, only the layout.

Tags are usually used in conjunction with posts and are not really meant to be an archive or category, so in order to display the latest tags I’m pretty certain you have to do a direct DB query.

References in how to use WPDB to retrieve latest tags:

https://stackoverflow.com/questions/2972525/how-can-i-get-a-list-of-the-most-recent-tags-in-a-wordpress-database

Display list of most used tags in the last 30 days