Reihenfolge der Attribute in Kategorieliste

Hallo,

wie kann ich innerhalb der Kategorien, nach den zugefügten Attributen sortieren?

Der Shop sortiert die Attribute von A-Z, obwohl ich bei den Attributen im Backend Ziffern im Feld Sortierung eingetragen habe?

Das liegt wohl an der Reihenfolge der Sortierung in SQL in folgender Datei:
oxAttributeList->getCategoryAttributes(){…}

Folgende Änderung sollte gehen:

$sSelect = "SELECT DISTINCT att.oxid, att.oxtitle, o2a.oxvalue " .
                       "FROM $sAttTbl as att, $sO2ATbl as o2a ,$sC2ATbl as c2a " .
                       "WHERE att.oxid = o2a.oxattrid AND c2a.oxobjectid = $sActCatQuoted AND c2a.oxattrid = att.oxid AND o2a.oxvalue !='' AND o2a.oxobjectid IN ($sArtIds) " .
                       "ORDER BY c2a.oxsort , att.oxpos, att.oxtitle, o2a.oxvalue";

=>

$sSelect = "SELECT DISTINCT att.oxid, att.oxtitle, o2a.oxvalue " .
                       "FROM $sAttTbl as att, $sO2ATbl as o2a ,$sC2ATbl as c2a " .
                       "WHERE att.oxid = o2a.oxattrid AND c2a.oxobjectid = $sActCatQuoted AND c2a.oxattrid = att.oxid AND o2a.oxvalue !='' AND o2a.oxobjectid IN ($sArtIds) " .
                       "[B]ORDER BY att.oxpos, att.oxtitle, c2a.oxsort, o2a.oxvalue[/B]";

Vielen herzlichen Dank!