Enhance MLFlow activity to sort data by created_at and remove duplicates; update tests to reflect changes