"Generic sort"
BIT Tree implementation completed