HIVE-238: Fix for the templeton JOBS_4 e2e test failure. Filtered job status array now sorted correctly by id