Add bbcode_id to ORDER BY as fallback