Added liveSorting, extracted TransformedDataBase