fixes sorting, moves "add another" buttons to the top of the inline