changed MultiLevelQueue to compare correct priorities