sort layouts by a windows number