Added sort to silly lc function