DOWNLOADS EXAMPLES SKINS DOCS SUPPORT
 
 

Sort Order

sortOrder -- The order to sort the playlist.

Description

Rave can sort playlists ascending (A-Z) or decending (Z-A).

NOTE: sortOrder is only available when sortField is set to anything other than "title". Why? because we are assuming that sortOrder is only needed for playlists that need to display items dependent on time, file name or a custom field.

You can disable sorting by setting the sortField to "none" (in the Customizer Tool, set "Sort Field" to: "Don't sort"). When sortField is set to "none", Wimpy will not sort the playlist. The order of the playlist will appear in the order that the <items> have been established within your original playlist. The "none" option allows you to generate an XML playlists without having Wimpy interfere with the order that the items show up in the player.

NOTE: You might ask why we chose to place the "none" option in the sortFIELD option as opposed to the sortORDER option? Because within the player sortORDER can only be ascending or decending based on the ability to, through the user interface, manually sort the playlist by column titles.

 

Options

sortOrder
asc -- Sorts ascending (A-Z) (default)
des -- Sorts ascending (Z-A)

sortField
none - Disables sorting.

 

Usage

As HTML option:

wimpy.swf?sortField=title&sortOrder=des

As Wimpy Configs Option:

<sortField>title</sortField>
<sortOrder>des</sortOrder>

As Javascript Option:

wimpyConfigs.sortField="title";
wimpyConfigs.sortOrder="dec";

 

See Also

- sortField

 

 

 

 

 

 

 

  ©Copyright Plaino LLC. All rights reserved.