Sorting methods now work. Program seems to be completed.