Fix Profiling of Cassandra Queries

Fix Cassandra query sorting, and add reporting the total time spent waiting on Cassandra.