Weird sorting?

I noticed some odd sorting. It probably bothers me more than it should.

Side-by-side comparison between Steam and Lutris:

Steam has it right; the first game is first, followed by 2 and 3. Lutris has the second game first, then third, then first.