CREATE TABLE table_203_172 (id DECIMAL, "title" TEXT, "date of creation" TEXT, "surname" TEXT, "first titular" TEXT)

who is listed first , bragan a or vila ?
SELECT "surname" FROM table_203_172 WHERE "surname" IN ('braganca', 'avila') ORDER BY id LIMIT 1
SELECT "surname" FROM "table_203_172" WHERE "surname" IN ('braganca', 'avila') ORDER BY "id" NULLS FIRST LIMIT 1