fix title sort case sensitivity and default sort by due date