1. Press Ctrl+F3.
2. In the "Refer to" box, put:
=GET.CELL(63,!$A1)
and give it the name "color" (no quotes). Press OK.
3. In an open column in row 1, insert:
=color
and fill down.
4. Now sort your data by this column.
This assumes that column A is colored. Also, there are
issues using old XLM functions/macros in versions earlier
than XL2002.