Added sort with date check and counter of debtors