HF RL Explorer

Task: Sort Array of Objects Alphabetically in Swift

Task: Sort Array of Objects Alphabetically in Swift: a task in Terminal-Lego-15k (Harbor dataset). You are working with a Swift application that manages a collection of movies. You have a Movie class with name (String) and year (Int) properties, and you need to sort an array of Movie objects…

The task

You are working with a Swift application that manages a collection of movies. You have a `Movie` class with `name` (String) and `year` (Int) properties, and you need to sort an array of `Movie` objects alphabetically by their name.

Part of PrimeIntellect/Terminal-Lego-15k.