"a drawer or place where things are heaped together in a disorderly manner," 1825, the first element probably a variant of Scottish glaur "to make muddy" (mid-15c.), perhaps from Old Norse leir "mud." Sexual (originally homosexual) sense from 1940s.