Added sort to lists