Sort job execution lists in JDBC layer