Sort results for libretro cores correctly.