Improved sorting of CardProxyModel