//
// Copyright (c) PlaceholderCompany. All rights reserved.
//
namespace SystemTrayMenu.Helpers
{
using System.Collections.Generic;
using SystemTrayMenu.DllImports;
internal class WindowsExplorerSort : IComparer
{
public int Compare(string? x, string? y)
{
if (x != null && y != null)
{
return NativeMethods.ShlwapiStrCmpLogicalW(x, y);
}
return 0;
}
}
}