Add sorting feature to the coverage index. Colorize index items depending on the coverage level

Please, do not use nested ternary operator. It is hard to read.