sort is now working properly. implemented binary search on the generic array list as well as on the one being used to hold queues.