I need to order my news by their importance value (1, 2 or 3) which is in the field field_importance and the date they are published. So I would need to order my news by this calculation: created * field_importance and I haven't figured out a way to do it with EntityFieldQuery. If someone knows a way to do it without EntityFieldQuery, that's equally good. This is my code so far:
$query->entityCondition('entity_type', 'node') ->propertyCondition('status', 1) ->propertyCondition('type', array('news')) ->propertyOrderBy('created', 'DESC');