longest order subsequence