update something : sort items, add finished , overdue attribute