open5e-api
open5e-api copied to clipboard
Ordering by CR descending puts creatures with CR 9 at the top.
Seems to me it doesn't sort the CR value like a number but like a string so it returns that CR of 9 is above CR 21. Example: hitting this endpoint: https://api.open5e.com/monsters/?ordering=-challenge_rating&page=1 I get that the first monster is Clay Golem which has a CR of 9.