collection code for adding new rows, edit floor, trying new sorting method for row