Is there any way to sort my listview?
<p>I have a <code>ListView</code>. When I click an item of it displays me another <code>ListView</code>.
Now I want the second <code>Listview</code> be sorted by <code>RPname</code> for example. How can I do that?</p>

<p>this is my Activity</p>

<pre><code>using Android.App;
using Android.Content;
using Android.OS;
using Android.Widget;
using Itsak.Classes;
using AndroidApplication17;

namespace Itsak
{
[Activity(Label = "Record Points", NoHistory = false)]
public class ActivityRecordPoints : Activity
{
    private RecordPointListAdapter _listAdapter;

    protected override void OnCreate(Bundle bundle)
    {
        base.OnCreate(bundle);

        // Create your application here
        SetContentView(Resource.Layout.RecordPointListView);

        //Create adapter
        _listAdapter = new RecordPointListAdapter(this);

        //Find the listview reference
        var listView = FindViewById&lt;ListView&gt;(Resource.Id.lstViewRecordPoints);

        //Hook up adapter to ListView
        listView.Adapter = _listAdapter;
        //Wire up the click event
        listView.ItemClick += ListViewItemClick;
    }

    private void ListViewItemClick(object sender, AdapterView.ItemClickEventArgs e)
    {
        //Get item from the list adapter
        var item = _listAdapter.GetItemAtPosition(e.Position);
        //Make a toast with the item name just to show it was clicked
        Toast.MakeText(this, item.StationName, ToastLength.Short).Show();

        // Invoke ActivityComponents
        var components = new Intent(this, typeof(ActivityComponents));

        StartActivity(components);
    }
}
}
</code></pre>

<p>And this is my Xml file</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RecordPointLinearLayout"
android:layout_width="fill_parent"
android:layout_height="80px"&gt;
&lt;ImageView
android:id="@+id/imageItemRP"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical" /&gt;
&lt;LinearLayout
android:id="@+id/linearTextRP"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:orientation="vertical"
android:layout_marginLeft="10px"
android:layout_marginTop="10px"&gt;
    &lt;TextView
    android:id="@+id/textTopRPName"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="TextView" /&gt;
    &lt;TextView
    android:id="@+id/textBottomRPCode"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="TextView" /&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p></p>
