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