PIM-1703 Fixed family grid sorting