As a temporary work-around, in case there is a better way (without editing the package), I added an xsl:sort to the for-each in App_Data\Composite\Media\ImageGallery\Slimbox2.xsl:
<xsl:sort select="@CompositePath"/>
...and edited my file names so they would sort correctly.