I'm having some wierd issues with sorting, I'll figure it out later