一、按照三個字段都符合條件來排序排序
ORDER BY ( CASE WHEN is_top = 1 AND top_end_time>UNIX_TIMESTAMP() AND top_start_time<UNIX_TIMESTAMP() then 1 ELSE 2 END),sorts DESC,ct desc im