It seems odd that with decades of experimenting with different methods, and the speed with which a computer should be able to analyze, that there continues to be no "right" method.
Logic to me says boarding rear to front, but as someone else posted, Jet Blue evidently believes the free for all to be better, and I think another airline just adopted that as well.