Dear Student
Entropy is the degree of disorder or randomness of the system,
Entropy is as: Gas > Liquid > Solid
In this case, diamond is harder than graphite.
So, the randomness of the system is more in graphite.
​​​​​Hence, graphite has higher entropy than diamond.
Regards