Fixed last_activity conversion to dates then sort