As long as none of your genes are X-linked and you use virgins it shouldn't matter and you'd get the same proportion of double homozygotes. You may want to perform a reciprocal cross (< if you don't know what chromosome these genes are on (though flybase.org is useful too).