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

  • SEARCH
  • Home
  • 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 414405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:16:46+00:00 2026-05-12T18:16:46+00:00

Currently I am making a mini music player / organizer for myself. However, when

  • 0

Currently I am making a mini music player / organizer for myself. However, when using a list view, it sorts alphabetically, and doesn’t ignore “The” and “A”:

  1. A Lot Like Me
  2. Adiago For Strings
  3. Stay Crunchy
  4. The Foresaken
  5. Time to Pretend

should be:

  1. Adiago For Strings
  2. The Foresaken
  3. A Lot Like Me
  4. Stay Crunchy
  5. Time To Pretend

It’s all loaded from a multi-dimensional array, and I’ve even tried filtering out “The” and “A” manually, and then display the real name (from a different array), but then it just sorts the displayed name (including “The” and “A”)

  • 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-12T18:16:47+00:00Added an answer on May 12, 2026 at 6:16 pm

    What you could do is to create a customer comparer and set it on your ListView instance using the ListView.ListViewItemSorter property. Then, your comparer is responsible for remvoing “the” and “a” from the start of the items being compared.

    When your ListView is sorted, it will use this custom comparer to sort with, but the original values including “the” and “a” will be used as display values in the ListView (ie. you do not need to modify the values you put in the ListView – the comparer just ignores the words you want it to when sorting).

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

Sidebar

Related Questions

currently making a SOAP request using Java's SOAPConnectionFactory and SOAPConnection 's .call() method, which
I am currently making a view to replace my current stored procedure and was
I am currently making an MP3 player in WPF, and I want to make
I currently making an Excel VB application. However, I am stuck at the moment.
I'm currently making a prototype game where the player walks along the isosurface of
I am currently making a game for the iPad and iPhone using cocos2d, Box2D
I've been rebuilding my site using CodeIgniter. I am currently making the sign up
Im currently making a very simple WebApp on a Website using ASP.NET Framework using
I am currently making the move from StructureMap to Castle Windsor. Using StructureMap, you
I'm currently making an iphone web app based on Google App Engine (python). I

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.