Removed Generics from Sorter class, replaced with int array