This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
It looks like dashlist is a array of arrays. Therefore, when you do sort(dashlist), you are actually trying to sort arrays and not Strings (The sort only works on one dimension). As it happens arrays are not Comparable and Arrays uses the this Comparable interface to sort. Therefore, it tries to cast an array to Comparable which gives you the exception.
Joined: Nov 16, 2004
How then can I sort this array?
Joined: Feb 05, 2003
You will have to explain how you expect it to be sorted. There is no natural way of sorting.
How would you expect this array to be sorted? I guess it will be up to you to implement the sorting mechanism yourself.