What is the difference between a general reference and a specialized reference?

When should you organized by topic, person, company etc rather than an A-Z alphabetical filing order?