NX-459: Using KZ with backported SortDirection