If it's not working then you're doing it wrong. You haven't shown us what you're doing so we can't see what's wrong with it. Show us your exact code and the exact data you're using.