MS-380: fix sort order of tiles