Added sort stack