true true..seems to be working now though..just dont know why sorting the table before hand would make a difference?