Inlined -n for sort