<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nae3na</author_name>
  <author_url>https://blog.hatena.ne.jp/nae3na/</author_url>
  <blog_title>なえ箱</blog_title>
  <blog_url>https://nae3na.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Unity</anon>
  </categories>
  <description>自作クラスの型のListをソートするにはどうやったらいいんだ？となって書いてみたのでメモ。 書き方 ラムダ式で書くとこんな感じ。データ要素はどこかで入れてる想定。 Dataクラスを適当に作ってみたので、この中のidxを使ってソートをするサンプル。 とりあえずソート処理だけ書いてあるのでソート後の処理とかは煮るなり焼くなりご自由に！ using System.Collections.Generic; using UnityEngine; public class SortTest : MonoBehaviour { // とりあえず適当にDataクラス public class Data { p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnae3na.hatenablog.com%2Fentry%2Farchives%2F440&quot; title=&quot;自作クラスの型のListをソートする【C#】【Unity】 - なえ箱&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-01 09:30:52</published>
  <title>自作クラスの型のListをソートする【C#】【Unity】</title>
  <type>rich</type>
  <url>https://nae3na.hatenablog.com/entry/archives/440</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
