daily-code icon indicating copy to clipboard operation
daily-code copied to clipboard

feature: Add sorting functionality for tracks by their names and creation time

Open Rajgupta36 opened this issue 1 year ago • 1 comments

Description: As a user of the application, I would like to have the ability to sort tracks alphabetically by their names and then by their creation time. Currently, tracks are displayed in a random order, which doesn't provide flexibility for users to view the tracks in a meaningful order.

Details:

  • Current Behavior: Tracks are displayed in a fixed order, possibly by name or another default sorting mechanism.

  • Desired Behavior: Tracks should be sorted alphabetically by their names, and within each group of tracks with the same name, they should be further sorted chronologically by their creation time.

  • Implementation Approach: Utilize the existing title and createdAt properties of tracks and implement sorting logic to arrange tracks alphabetically by name and then by creation time within each group.

  • User Benefit: This feature will enhance user experience by allowing them to easily find and navigate tracks, especially when multiple tracks have the same name but different creation times.

Rajgupta36 avatar May 04 '24 16:05 Rajgupta36

Please assign this issue to me! @hkirat

Rajgupta36 avatar May 04 '24 16:05 Rajgupta36