graphql-community
graphql-community copied to clipboard
User: orderBy rep or followers desc shows null first

https://graphql.communitygraph.org/graphiql/?query=%7B%0A%20%20User(first%3A10%2C%20orderBy%3Areputation_desc)%20%7B%0A%20%20%20%20name%0A%20%20%20%20type%0A%20%20%20%20reputation%0A%20%20%20%20followers%0A%20%20%7D%0A%7D
@jexp I believe the problem is that the sorting algorithm treats nulls as higher than numbers. There are numbers for some users currently, they're just far down the list, and the point at which they start keeps changing (I believe because new data is being added regularly?)