Brick sizes are measured height x length x width. They are sized this way because they need to be easily stackable while still holding weight securely.
A brick that has different dimensions than these is unsuitable for construction purposes, so it is best to use brick sizes as outlined above. Brick dimensions can be described in the following format: the length of one side followed standard brick size and dimensions followed by the length of one side.