Change sort to Collections.sort