Fix loco_sort class