sorting bundles