Most items have a set number -- before the Scout update introduced the Sandman, no item went higher than level 10.
About the time of the Spy / Sniper update, there was a glitch in the random drop system, and normal weapons (that usually have a fixed level number) were generated with a random level between one and one hundred. This has since been fixed, so if you see, to use one of my own items for example, a level 56 Dead Ringer, that means the item is very old. (And now with the latest patch, you'll never see a non-vintage oddly leveled item)
On the other hand, hats will always have a random level. This means nothing, but certain levels are certainly more valuable for trading, for pure sentimental value. (1, 100, 69, 42, etc.)
The singular exception to all of the above is the new Dueling Badge medal misc item, which actually "levels up" as you kill folks during your duels. A level 100 dueling badge works out to 1000 kills (Might be off a factor of ten) during duels, and likewise the rarity of the badge itself (bronze, silver, gold, platinum) is based on level increment. 0-25,26-50,51-75,76-99,100, etc.
In no case does the level of an item have any effect on gameplay.
As far as I'm aware there is a certain chance you will get a drop at any given time and then a percentage chance what that drop will be, so every time you get a drop there would be say a 0.5% chance it would be a hat (for example not actual figures). I'm pretty sure thats how it used to work but things could have changed since the free update.
So as far as I'm aware when you get a drop its either a hat or an item so as such they do technically conflict
Best Answer
Hats are very
uselesssentimental items. Because of that, the pricing of a hat is dependent on what someone will pay for it. As "42" is a special number, it is true that it may be cooler than a hat that's not level 42. The same thing can go for Craft #'s. Hats with craft numbers below 100 are the first 100 hats to be made. This can also be special because people like having "antique" items.There isn't really a list of levels and numbers that are worth more. Any sequence you think is cool can make a hat be worth more, such as 42, 1234, or 9001. It's all really opinion based