Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1053773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:18:17+00:00 2026-05-16T17:18:17+00:00

Is there a template reverse order in Listbox? I’m using ObservableCollection and I would

  • 0

Is there a template reverse order in Listbox? I’m using ObservableCollection and I would like to avoid any extra sorting, inserting etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:18:18+00:00Added an answer on May 16, 2026 at 5:18 pm

    If you use Linq, you should be able to just .OrderByDescending()? Have a look at an example here – http://msdn.microsoft.com/en-us/vcsharp/aa336756.aspx

    If this is for the score list you were working on from a previous question, you should be able to just order by the score amount if it’s stored as an integer, without having to create a custom comparer function. An example linq query to order your list would be something like:

            var sortedItems =
                from item in myObservableCollection
                orderby item.Score descending
                select item;
    

    Once you have the IEnumerable result of the Linq, you can recreate an ObservableCollection and reassign to your ViewModel (Cast LINQ result to ObservableCollection)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 542k
  • Answers 542k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer PHPUnit has ability to mock webservices: http://www.phpunit.de/manual/3.4/en/test-doubles.html#test-doubles.stubbing-and-mocking-web-services May 17, 2026 at 3:10 am
  • Editorial Team
    Editorial Team added an answer Are there any real world examples of a major modern… May 17, 2026 at 3:10 am
  • Editorial Team
    Editorial Team added an answer $record_num = end($this->uri->segment_array()); May 17, 2026 at 3:10 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Given: template <int N> struct val2size { char placeholder[N]; }; Is there any guarantee
I would like to sort alphanumeric strings the way a human being would sort
Is there a way to get the C/C++ preprocessor or a template or such
In the default Wordpress template, there is this in header.php . <body <?php body_class();
i just bought a joomla template from template monster. there is photo gallery on
I am writing a transform for a set of nodes, similar to this. <xsl:template
Previously I've been using some older version of django-registration which seems to be deprecated
I need an efficient commify filter or routine for use with Template::Toolkit. It is
I am having trouble doing a reverse URL lookup for Django-generated feeds. I have
Disclaimer: My experience/knowledge of web services is very limited. There is an existing web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.