Fixes sorting of tile options