Preserve ordering within type class