add deadline and importance in topics table
sort by deadline