Make sure trait ordering follows the same behavior as with categories