[index] Add alternative ABL handling - using heap instead of sorted container

Code is commented out, left "for the record" as a result of a quick test.
Add some comments about possible improvements.