Creature sort bug

I’m seeing a weird bug when sorting creatures by level, devils specifically.

The first page is fine, but then the second page stops making any sense whatsoever:


I first though this was just an imp issue, but now that I’ve narrowed down the filter to devils I see that several of them are out of order.

Notably, changing the sorting order from increasing to decreasing doesn’t change the distribution across pages. In other words, the first page always has devils from the Lemure to the Deimavigga, while the second page always has devils from the Imp to the Pit Fiend, with the Haznazak and the Osyluth somehow higher than the Pit Fiend

Descending:


We’ll take a look at that