I have a table and in this table i need the finished attribute if its null to be first but at the same time i want the due date to be ordered asc
def all_case