// Load all advert codes for given network
$result = SQL_QUERY_ESC("SELECT
- p.`network_api_id`, t.`network_type_id`, t.`network_type_handle`, p.`network_api_index`
+ p.`network_api_id`, t.`network_type_id`, t.`network_type_handle`, p.`network_api_index`, p.`sort`
FROM
`{?_MYSQL_PREFIX?}_network_api_translation` AS p
INNER JOIN