Sort:  

The Ten Commandments were placed inside the ark of the covenant.
The book of the law (600+ laws) , and put it in the side of the ark of the
covenant.

laws and commandments is the same thing. If Go'd commands it, it's the law.