Generic Function to add ORDER BY to a request
static public addOrderBy ( $itemtype, $ID, $order, $key ) : select | ||
$itemtype | ID of the device type | |
$ID | field to add | |
$order | order define | |
$key | item number (default 0) | |
return | select | string |