updating grid ordering for medium view compatibility