Investors focused on the Retail-Wholesale space have likely heard of Macy's (M), but is the stock performing well in comparison to the rest of its sector peers? One simple way to answer this question is to take a look at the year-to-date performance of M and the rest of the Retail-Wholesale group's stocks.Macy's is a member of our Retail-Wholesale group, which includes 227 different companies and currently sits at #6 in the Zacks Sector Rank. The Zacks Sector Rank considers 16 different sector groups. The average Zacks Rank of the individual stocks within the groups is measured, and the sectors are listed from best to worst.The Zacks Rank is a proven model that highlights a variety of stocks with the right characteristics to outperform the market over the next one to three months. The system emphasizes earnings estimate revisions and favors companies with improving earnings outlooks. M is currently sporting a Zacks Rank of #2 (Buy).Within the past quarter, the Zacks Consensus Estimate for M's full-year earnings has moved 3.77% higher. This means that analyst sentiment is stronger and the stock's earnings outlook is improving.Our latest available data shows that M has returned about 21.52% since the start of the calendar year. Meanwhile, stocks in the Retail-Wholesale group have gained about 2.17% on average. This means that Macy's is outperforming the sector as a whole this year.Looking more specifically, M belongs to the Retail - Regional Department Stores industry, a group that includes 4 individual stocks and currently sits at #197 in the Zacks Industry Rank. On average, stocks in this group have gained 15.12% this year, meaning that M is performing better in terms of year-to-date returns.Investors in the Retail-Wholesale sector will want to keep a close eye on M as it attempts to continue its solid performance.Want the latest recommendations from Zacks Investment Research? Today, you can download 7 Best Stocks for the Next 30 Days. Click to get this free report Macy's, Inc. (M): Free Stock Analysis Report To read this article on Zacks.com click here. Zacks Investment Research