Sorting changes
Removed comparators
Refactor indices allocation inside buffered particle batch