[[ Bug 11953 ]] sort card of stack crashes
[[ Bug 11953 ]] The previous fix was incorrect - and only masking the real error
Merge pull request #551 from runrevsebastien/bugfix-11953

[[ Bug 11953 ]] sort card of stack crashes