cant use linked list with qsort
I tookaway the use of a linked list but now the stored data is acting very strange