Added index sorting class.  util/sortbase.h