got the full sort and 1024 sample case working!