Changed a lot of code in main, sort works, changed (db.getallcontacts ->
contacts). problem = list changes back to original