Hi guys i've written a hash table as a collection for a program the key is a string, show below:
private Hashtable<String, Planes> planesFlying = new Hashtable<String, Planes>();
How can i write a comparator to sort this into alphabetical order? i've tried a lot. Do you need to overide equals and do the overide hashcode ?