Queue comparison