Working sorting display on select change (no duplicate elements)