playlists sort controller method