Is there a way to implement sorting like how it's done in Spotify? - TanStack