That looks like it should work provided the values for the meta_key = ‘start_time’ are actually stored as a number. Use phpMyAdmin or a similar tool to examine the postmeta table and see how the values are stored.
the start_time is actually unix timestamp which i made from the php funcion strtotime();
it should be number but for safety i also converted it to int before saving the meta field.
$start_time = (int)strtotime($start_time);
So did you look at in the database to be sure it is what you think?
yes. I have seen the numbers there.
OK – missed the obvious. The parameter to query_posts is ‘orderby’, not ‘order_by’!
I AM THE GREATEST DUMMY OF THE WORLD
I think i had checked everything without that! It worked!