use name instead of _id for sortable branch order

fixes #517