Quartz, quartz schist, quartz sandstone
Too broad, not comparable.The rocks of the metamorphic rocks are very hard, but they are also schist, gneiss, etc..
The quartz sandstone in sedimentary rock is very hard, but it is also soft.Magmatic rocks are generally hard, such as basalt, but there are exceptions, such as volcanic tuff, etc..