-// Generate output lines for the template
-$OUT = ''; $SW = 2;
-$result = SQL_QUERY("SELECT `id`, `theme_path`, `theme_active`, `theme_ver`, `theme_name` FROM `{?_MYSQL_PREFIX?}_themes` ORDER BY theme_path", __FILE__, __LINE__);
+$result = SQL_QUERY("SELECT
+ `id`,
+ `theme_path`,
+ `theme_active`,
+ `theme_ver`,
+ `theme_name`
+FROM
+ `{?_MYSQL_PREFIX?}_themes`
+ORDER BY
+ `theme_path` ASC", __FILE__, __LINE__);
+