add generic topological sorting algorithm
add getSequenceIdByName in FastAIndex class