Implement compareTo so trash objects may be sorted for correct removal