Fix sort value table