Python Json Check Array Is Sorted