UpdateCommandUpdateCommand class, which allows users to modify one or more fields of an existing internship entry without re-entering the entire record.company/, role/, deadline/, pay/, and status/.ArgumentParser to handle parsing, 1-based to 0-based index conversion, and input format checking.InternityException for invalid formats, indices, or missing fields.InternshipList.updateX(...) for each non-null fieldArgumentParser and InternshipList.ListCommandListCommand and InternshipList interaction to resolve the issue where the internship list could not revert to its original order after sorting.InternshipList.sortInternships() method to create a separate ArrayList copy instead of sorting the internal list directly, ensuring sorting is temporary and non-persistent.listAll() to iterate through this temporary view when the user specifies list sort/asc or list sort/desc, leaving the original list unchanged.list command still displays internships in the order they were added.list commands correctly revert to the original unsorted order.UpdateCommand, covering:
Update Command Sequence DiagramUpdate Feature Class DiagramListCommand to match the updated implementation for sorting.Reviewed PRs