Added Sort function in IcardGrid