[Sortivator] Semi-working code.....very semi. CODE CLEANUP!