Grid sort changed to come before grid coloring