Conditional sorting with variable using WP Query

You can put the condition in your select and then use that for sorting.

SELECT ID, post_author = 6 as featured_author
FROM wp_posts
ORDER BY featured_author DESC, post_created DESC