Sorting compatibility with plugin