+ sortByDesc, isIndexCorrect
+ improve compress method