Fix intermittent test failures due to results ordering issues.

Make bundles-containing and charm-related API
endpoints return results in a specific order.
Done.