mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
Sort code for PathID (change to numeric) (#550)
* Sort code for PathID (change to numeric) * Remove comments (were only for reference) * Match Perfare formatting
This commit is contained in:
parent
c76e41b1ab
commit
84c75fadf5
@ -564,6 +564,15 @@ namespace AssetStudioGUI
|
||||
return reverseSort ? bsf.CompareTo(asf) : asf.CompareTo(bsf);
|
||||
});
|
||||
}
|
||||
else if (sortColumn == 3) // PathID
|
||||
{
|
||||
visibleAssets.Sort((x, y) =>
|
||||
{
|
||||
long pathID_X = x.m_PathID;
|
||||
long pathID_Y = y.m_PathID;
|
||||
return reverseSort ? pathID_Y.CompareTo(pathID_X) : pathID_X.CompareTo(pathID_Y);
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
visibleAssets.Sort((a, b) =>
|
||||
|
Loading…
Reference in New Issue
Block a user