$sort = 'name';
$stm = $db->prepare('SELECT * FROM `users` ORDER BY ? ASC LIMIT ?,?');
$stm->bindParam(1, $sort);
$stm->bindValue(2, $art, PDO::PARAM_INT);
$stm->bindValue(3, $kol, PDO::PARAM_INT);
$stm->execute();