Fixed derived data sorting bug for tweet reformat & csv generation