Run Utils through sorting and formatting

This commit sorts and formats the Utils class. That class has been
cleaned up and refactored around so it can be sorted now to make the
whole thing even tidier and easier to work with later on.