This document presents a new optimization approach for extracting frequent 2-itemsets from transactional databases. The approach sorts frequent 1-itemsets by support before generating 2-itemsets, aiming to discover association rules more quickly. Experiments show the proposed OPTI2I algorithm performs efficiently on weakly correlated data compared to APRIORI, PASCAL, CLOSE and MAX-MINER. The work also presents a model for side-by-side classification of items based on relationships between 2-itemsets, which could help arrange products in large stores.