Convert and sort colors