Updating and adding pixel sorting, not yet commented and pretty dirty but working, need to figure out why all of the sort methods take the same amount of time now.