Sort card ascending id in favorite tab.