Export SQL Script does not put primary keys first