fix when sorting factors in blue ocean