Amazing priority/due-date dynamic sorting