added option to sort object keys when inspecting an object