Under Batocera and Retropie, it is possible to sort the gamelist.xml via the Tag <sortname>. ARRM offers a database sorting module based on 5 possible criteria. When a sort is applied to the database, when saving the gamelist.xml, ARRM will create the tag <sortname> with an index (example: <sortname> 002 = - City Defender </sortname>) thus allowing display the sorted gamelist.xml in EmulationStation.
Here's how.
Click on ' OK ' to validate the criteria or ' Delete Criteria ' to delete them.
Your gamelist.xml will then have a new <sortname> tag as in the example below:
<game> <path> ./Berzerk.bin </path> <name> Berzerk </name> <sortname> 022 = - Berzerk </sortname> <desc> Berzerk is a video game developed by Stern Electronics, released in 1980 on an arcade machine.nnThe player controls a humanoid in multi-array labyrinthine environments when viewed from above. He must progress by eliminating an army of warlike robots. It is a precursor of run and gun, which notably influenced the conception of Robotron: 2084. The game presents innovative characteristics of gameplay (notably multi-directional shooting) and of realization with computer voices. </desc> <rating> 0.8 </rating> <releasedate> 20020101T000000 </releasedate> <developer> Stern Electronics, Inc. </developer> <publisher> AtariAge </publisher> <genre> action </genre> <players> 1-2 </players> <image> ./downloaded_images/Berzerk_screenscraper_mix_arrm.png </image> <thumbnail> ./downloaded_images/Berzerk_screenscraper_boxart_arrm.png </thumbnail> <marquee> ./downloaded_images/Berzerk_screenscraper_wheel_arrm.png </marquee> <video> ./videos/Berzerk_screenscraper_video_arrm.mp4 </video> <playcount> 0 </playcount> </game>