(PECL tokyo_tyrant >= 0.1.0)
Orders results
public mixed TokyoTyrantQuery::setOrder ( string $name, int $type )
Sets the order of a query
Parameters:
name
The column name to apply the ordering on.
type
The type can be one of the following constants:
TokyoTyrant::RDBQO_STRASC - String ascending TokyoTyrant::RDBQO_STRDESC - Stri