order by name after ending date on dashboard