Add additional comments for explaining the order of the cases.