Order posts by date, but also give priority for a specific term

There are no default sorting to show a specific term posts on top of others. So need some tricks to achieve it. You can check this answer, should be helpful.
https://wordpress.stackexchange.com/a/161168/102213

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)