public function orderBy($sort, $order = 'ASC') { $order = strtoupper($order); return $this->addQueryPart('orderBy', $sort . ' ' . ('ASC' == $order ? 'ASC' : 'DESC'), false); }