basic sort is working