sort order patch by TheNoctambulist