will be changed after merging
sorts machines and tools and users lists