Moved JacksonSort into a separate class.