# TCLSortType

## Definition

  `#include <twl/tcl.h>`

      typedef enum
      {
          TCL_SORT_TYPE_DATE = 0 ,
          TCL_SORT_TYPE_FAVORITE_1 ,
          TCL_SORT_TYPE_FAVORITE_2 ,
          TCL_SORT_TYPE_FAVORITE_3 ,
          TCL_SORT_TYPE_FAVORITE_ALL ,
          TCL_SORT_TYPE_FRAME ,
          TCL_SORT_TYPE_MAX
      } TCLSortType;

## Description

Defines the criteria used by `TCL_SortTable` to sort the management file.

The sort types are explained in the following list.

TCL_SORT_TYPE_DATE | Photos take precedence (not frames) and are sorted by date.
TCL_SORT_TYPE_FAVORITE_1 | Sorted by the first favorite.
TCL_SORT_TYPE_FAVORITE_2 | Sorted by the second favorite.
TCL_SORT_TYPE_FAVORITE_3 | Sorted by the third favorite.
TCL_SORT_TYPE_FAVORITE_ALL | Sorted by all favorites. Sorted in order of first, second and third favorites, and then others.
TCL_SORT_TYPE_FRAME | Frames take precedence and are sorted by date.

## See Also

`TCL_SortTable`

## Revision History

2008/10/24 Added `TCL_SORT_TYPE_FAVORITE_ALL`
2008/10/07 Initial version

CONFIDENTIAL