fix select Sort & layout