Stack/LL: sort without extra space