sorting varas