namespace assetBundleUtility
{
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class SortExtension
{
///
/// str0的ASCII是否比str1的ASCII小
///
///
///
///
public static bool CompareASCII(string str0, string str1)
{
for (int i = 0; i < str0.Length; i++)
{
if (i >= str1.Length)
{
return true;
}
else if (str0[i] < str1[i])
{
return true;
}
else if (str0[i] > str1[i])
{
return false;
}
}
throw new Exception();
}
}
}