sorting now working i think...