Fixed ordering and converted it to the constant.
Working on improving the documentation.