fixing sort() methods so they are actually, you know, accurate... also ironing out Table bits