[Solved] why arrayList.sort() doestnt work with me?
You are adding two byte arrays in your ArrayList and trying to sort them. Since sorting is performed on a comparison basis… at runtime your application complains about a missing criterion for defining a priority between the two arrays. public class BytesComparer : IComparer { Int32 IComparer.Compare(Object x, Object y) { Byte[] left = (Byte[])x; … Read more