WS-1493 Sorting by execution status fixes
Corrected the sorting for obs times and execution status and moved some logic around to clean things up a tad.
Corrected the sorting for obs times and execution status and moved some logic around to clean things up a tad.