fix bug - sort clusters