The workaround is to move back to an older version of the Azure Search package. There are also options to configure our search fields as well and make them do what you're looking for.
Check out the 2 global events:
DocumentFieldCreator.Instance.CreatingField.After += CreatingField_After;
DocumentCreator.Instance.AddingDocumentValue.Execute += AddingDocumentValue_Execute;
Here's something you can do to in the CreatingField_After
event:
if (field.Name.Equals(nameof(TreeNode.NodeLevel), StringComparison.OrdinalIgnoreCase) ||
field.Name.Equals(nameof(TreeNode.NodeOrder), StringComparison.OrdinalIgnoreCase))
{
field.IsSortable = true;
field.IsFilterable = true;
}