Adding code to sort children when call is to /all kmaps