Prevent resize for sorted column if not initialized (#12951)

Change-Id: I184625738f6d5d9324f957827f7f11817e311c59