SELECT *, DATE_FORMAT(created, '%d.%m.%Y') as created2 FROM mdl_news WHERE news_title_en != '' AND active = 1 AND on_sidebar = 1 ORDER BY listorder ASC, created DESC, id DESC LIMIT 2