SVY-6677
Improved messages when relation sorting fails