Backbone routing and Python sort by angle instead of tree ID