row sort added - tested