Changed palette sort algorithm from chroma to Z-ordering. Documented ColorPaletteGenerator.java.