order === 'rand' ? $repository->getRandom($request->limit, $user) : $repository->getForQueue($request->sort, $request->order, $request->limit, $user) ); } }