Hi, this is driving me crazy, i making a simple sorting system with orderby for my wordpress site.

im defining the var 'order' (it can be title, date, author) which i later want to pick ut int query. Right now i cant even 'read' the var in the query.

How can i solve this?

<?php $order= "'title'"?>

<?php $myQuery = new WP_Query(array('post_type' => array('highlights',  'a
rtiklar','intervju', 'portfolio', 'pressrum', 'myo_polling'), 'orderby'=>  $order , 'order'=> 'ASC'));
while( $myQuery->have_posts() ) :