change 'direct' forwarding sorting rules, fixes #6243